>On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> >> There's no race.  For async signals, system just picks one thread for
>> >> delivery.
>> >
>> >This is bad. Is there no function to define that signals should be
>> >send to all threads for async signals?
>>
>> Why?  In what circumstances do all threads need to handle an
>> asynchronous signal?
>
>To do some work for the signal. Like cleanup for Control-C.

Under what circumstances do all threads need to cleanup?
(Since cleanup can only really involve externally visible actions,
it should be possible to do all of those from a single thread)

Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to