William James writes: > On 2/21/07, James Carlson <[EMAIL PROTECTED]> wrote: > > William James writes: > > > > 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? > > > > You don't (and can't) send signals to threads. You send them to > > processes. > > Which of the threads in the process gets called to run the signal > handler for async signals?
One of 'em. It's not documented. You can control which threads can process signals, though. Just set the signal mask. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
