[PATCH] 1:1 Userland threading stage 2.11/4:

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Feb 4 12:08:48 PST 2007

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.

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   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00007.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20070204/ab697d3a/attachment-0020.obj>

More information about the Kernel mailing list