Subject: Re: SCHED_LOCK(9)?
To: None <tech-kern@netbsd.org>
From: Tobias Nygren <tnn@NetBSD.org>
List: tech-kern
Date: 04/21/2007 00:10:04
Oliver Gould wrote:
> Hello-
>
> I appreciate the help over the last few days.  I am now _almost_ to the
> point of testing KQEMU.
>
> One last^W question:
>
> Is SCHED_LOCK used anymore?  Many manpages (scheduler(9), mi_switch(9),
> et al) reference it; yet I get the following error:
>   

SCHED_LOCK got obsoleted when newlock2 was merged.
The manual page and xrefs should be removed.
I think was you want to do nowadays is to access the
run queues with sched_mutex held.
(Looking forward to trying out kqemu by the way :)