Date: Thu, 30 Nov 2000 19:42:18 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c Message-ID: <200012010342.eB13gIl98329@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/11/30 19:42:18 PST
Modified files:
sys/kern kern_exit.c
Log:
Don't update p_stat in exit1() to SZOMB until after releasing the allproc
lock. Otherwise, if we block on the backing mutex while releasing the
allproc lock, then when we resume, we will be at SRUN, and we will stay
that way all the way through cpu_exit. As a result, our parent will never
harvest us.
Revision Changes Path
1.106 +8 -2 src/sys/kern/kern_exit.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012010342.eB13gIl98329>
