cvs commit: src/sys/kern kern_exit.c kern_sig.c
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sat Jun 30 02:59:23 PDT 2007
Matthew Dillon wrote:
Log:
Move the P_WEXIT check from lwpsignal() to kern_kill(). That is, disallow
signals to exiting processes but allow signals to threads that have not gone
through the exit interlock yet. This allows exit1() to interlock the process
and still signal its LWPs.
Fix a bug in exit1() which was improperly using lwp_signotify() to wake up
LWPs to force the to exit. This function is basically a NOP if there are
no signals pending to the LWP. Send a real SIGKILL to the LWP instead.
Could you explain how this happens? lwp_signotify() wakes up/interrupts/schedules the thread.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070630/d862a646/attachment-0020.obj>
More information about the Commits
mailing list