Re: Unix signals in GLib
- From: Ray Strode <halfline gmail com>
- To: Xavier Bestel <xavier bestel free fr>
- Cc: Andy Wingo <wingo pobox com>, Gtk+ Developers <gtk-devel-list gnome org>, stef memberwebs com
- Subject: Re: Unix signals in GLib
- Date: Sat, 1 May 2010 17:12:40 -0400
Hi,
On Fri, Apr 30, 2010 at 1:03 PM, Xavier Bestel <xavier bestel free fr> wrote:
> On Fri, 2010-04-30 at 11:02 -0500, Stef Walter wrote:
>> 1. Block signals you're interested in on all threads, usually done
>> early on, before starting any threads. Using pthread_sigmask.
>
> How do you block signals in all threads before starting any thread ?
a thread created with pthread_create will inherit the signal mask of
the thread pthread_create is called from.
--Ray
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]