locking note.

This commit is contained in:
yamt 2007-02-17 17:24:01 +00:00
parent 38384421f9
commit d8e79b86c0

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cpu_switchto.9,v 1.1 2007/02/17 16:23:08 yamt Exp $
.\" $NetBSD: cpu_switchto.9,v 1.2 2007/02/17 17:24:01 yamt Exp $
.\"
.\" Copyright (c)2007 YAMAMOTO Takashi,
.\" All rights reserved.
@ -54,6 +54,12 @@ doesn't modify
or
.Dv curproc .
.Pp
.Fn cpu_switchto
is called with spin mutexes held.
However, implementations of
.Fn cpu_switchto
should not rely on it.
.Pp
It takes the following arguments.
.Bl -tag -width oldlwp
.It Fa oldlwp