Re: Unix signals in GLib



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]