jhb 77d161b46b Move cpu_exit() earlier in exit1() to close a race between
SIGCHLD/kevent(2) notification of process termination and wait().  Now
we no longer drop locks between sending the notification and marking
the process as a zombie.  Previously, if another process attempted to do
a wait() with W_NOHANG after receiving a SIGCHLD or kevent and locked
the process while the exiting thread was in cpu_exit(), then wait() would
fail to find the process, which is quite astonishing to the process
calling wait().

MFC after:	3 days
2007-05-14 22:21:58 +00:00
..
2007-05-14 21:48:53 +00:00
2007-05-02 01:03:10 +00:00
2007-05-14 22:01:03 +00:00
2007-05-13 18:21:54 +00:00
2007-05-05 11:07:52 +00:00
2006-11-28 19:33:28 +00:00
2007-05-09 09:02:11 +00:00
2007-05-03 22:39:52 +00:00