Return to sched_4bsd.c CVS log | Up to [cvs.NetBSD.org] / src / sys / kern |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.8, 2007/11/06 00:42:43 | version 1.9, 2007/12/05 07:06:54 | ||
---|---|---|---|
|
|
||
{ | { | ||
runqueue_init(&global_queue); | runqueue_init(&global_queue); | ||
mutex_init(&sched_mutex, MUTEX_SPIN, IPL_SCHED); | mutex_init(&sched_mutex, MUTEX_DEFAULT, IPL_SCHED); | ||
/* Initialize the lock pointer for lwp0 */ | /* Initialize the lock pointer for lwp0 */ | ||
lwp0.l_mutex = &curcpu()->ci_schedstate.spc_lwplock; | lwp0.l_mutex = &curcpu()->ci_schedstate.spc_lwplock; | ||
} | } |