DragonFly commits List (threaded) for 2007-06
DragonFly BSD
DragonFly commits List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_exit.c kern_sig.c


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 30 Jun 2007 11:57:59 +0200

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
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]