Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/11/1998 14:44:26
Module Name: src
Committed By: thorpej
Date: Wed Nov 11 22:44:26 UTC 1998
Modified Files:
src/sys/kern: kern_fork.c
src/sys/sys: proc.h
Added Files:
src/sys/kern: kern_kthread.c
src/sys/sys: kthread.h
Log Message:
Move fork_kthread() to a new file, kern_kthread.c, and rename it to
kthread_create(). Implement kthread_exit() (causes a thrad to exit).
Set P_NOCLDWAIT on kernel threads, which will cause any of their children
to be reparented to init(8) (which is already prepared to wait out orphaned
processes).