which running thread gests the external signal

Daniel Eischen deischen at freebsd.org
Wed May 3 12:56:41 UTC 2006


On Wed, 3 May 2006, Alin-Adrian Anton wrote:

> Daniel Eischen wrote:
>> You are entirely confused.  You should go back to the POSIX standard
>> and get Dave Butenhof's Programming with POSIX Threads book.
>> 
> [..]
>
> You are right. All is clear now, i re-read the link twice and played with 
> sigprocmask vs. pthread_sigmask. It's clear now, also with the help of:
>
> http://www.opengroup.org/onlinepubs/009695399/functions/sigprocmask.html

Note that sigprocmask() and pthread_sigprocmask() are equivalent.  I
don't even think pthread_sigprocmask() is in the standard any longer
(it used to be in an older version of the standard).  New applications
should be using sigprocmask().

-- 
DE


More information about the freebsd-hackers mailing list