[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...
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
More information about the Kernel