Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/08/2000 07:16:23
Module Name:	syssrc
Committed By:	chs
Date:		Wed Nov  8 05:16:23 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_fork.c

Log Message:
in fork1(), only add make the new proc visible (by giving it a pid
and adding it to allproc) after it's fully initialized.
this prevents the scheduler from coming in via a clock interrupt
and tripping over a partially-initialized proc.


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 syssrc/sys/kern/kern_fork.c

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