Matthew Dillon wrote:
:another thing is that if all LWPs are sleeping in the kernel and some of =
:these sleeps are interruptible, one of these LWPs has to receive the sign=
:al by interrupting the sleep.  so in any case we will have to run down th=
:e list.  on the other hand, signals don't happen that often.
    Hmm.  What does POSIX say about which thread should get interrupted?

IIRC, "implementation defined", however if there is one thread which doesn't 
mask the signal, this thread has to receive it.  if there are more, the choice of the 
thread is implementation defined.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to