diff options
author | Julian Elischer <julian@FreeBSD.org> | 2007-10-20 23:23:23 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2007-10-20 23:23:23 +0000 |
commit | 3745c395ecae17ef47be82433463d561629220b0 (patch) | |
tree | 705ce8283c36af96cf048c799a9c02ee91af62db /sys/kern/kern_fork.c | |
parent | 2b3e7485f683cae86e5b9c773bbaabf920746f0e (diff) | |
download | src-3745c395ecae17ef47be82433463d561629220b0.tar.gz src-3745c395ecae17ef47be82433463d561629220b0.zip |
Rename the kthread_xxx (e.g. kthread_create()) calls
to kproc_xxx as they actually make whole processes.
Thos makes way for us to add REAL kthread_create() and friends
that actually make theads. it turns out that most of these
calls actually end up being moved back to the thread version
when it's added. but we need to make this cosmetic change first.
I'd LOVE to do this rename in 7.0 so that we can eventually MFC the
new kthread_xxx() calls.
Notes
Notes:
svn path=/head/; revision=172836
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r-- | sys/kern/kern_fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index e6f4d1510be3..eeb02efd02b1 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -802,7 +802,7 @@ fork_exit(callout, arg, frame) if (p->p_flag & P_KTHREAD) { printf("Kernel thread \"%s\" (pid %d) exited prematurely.\n", p->p_comm, p->p_pid); - kthread_exit(0); + kproc_exit(0); } mtx_assert(&Giant, MA_NOTOWNED); |