Threads and signals
Ivan Voras
ivoras at freebsd.org
Fri Jan 4 04:08:51 PST 2008
Alfred Perlstein wrote:
> * Ivan Voras <ivoras at freebsd.org> [080104 03:23] wrote:
>> On 04/01/2008, Alfred Perlstein <alfred at freebsd.org> wrote:
>>
>>> You need to block/unblock signals or use sigwait.
>>>
>>> So basically your code will look something like:
>>> defer_signals();
>> Interesting approach - should I also use it to ensure only one of the
>> threads gets the signal?
>
> Certainly.
Hmm:
:/usr/include> man defer_signals
No manual entry for defer_signals
:/usr/include> grep -r defer_signals *
-nothing found
Where is defer_signals() ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20080104/cc74ded3/signature.pgp
More information about the freebsd-threads
mailing list