Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 01/27/2003 22:30:34
Module Name:	src
Committed By:	nathanw
Date:		Mon Jan 27 20:30:33 UTC 2003

Modified Files:
	src/sys/kern: kern_exit.c

Log Message:
Call exit_lwps() from exit1() if there is more than one LWP (as
recorded by p_nlwps) *or* if the process was a SA process. Since
cached SA LWPs aren't counted in p_nlwps, it was possible for
them to not be cleaned up and remain on the alllwp list, pointing to a
dead proc.


To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 src/sys/kern/kern_exit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.