Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/10/1998 22:34:44
Module Name:	src
Committed By:	thorpej
Date:		Wed Nov 11 06:34:44 UTC 1998

Modified Files:
	src/sys/kern: init_main.c kern_fork.c
	src/sys/sys: proc.h systm.h
Log Message:
Initial version of API for creating kernel threads (likely to change somewhat
in the future):
- New function, fork_kthread(), takes entry point, argument for entry point,
and comment for new proc.  May be called by any context, will fork the
thread from proc0 (requires slight changes to cpu_fork()).
- cpu_set_kpc() now takes a third argument, a void *arg to pass to the
thread entry point.  Thread entry point now takes void * instead of
struct proc *.
- Create the pagedaemon and reaper kernel threads using fork_kthread().