Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Note that these functions must be called with...



details:   https://anonhg.NetBSD.org/src/rev/2dded14eb0cc
branches:  trunk
changeset: 533607:2dded14eb0cc
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Jul 05 04:03:15 2002 +0000

description:
Note that these functions must be called with the scheduler lock held.

diffstat:

 share/man/man9/setrunqueue.9 |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d6fa9bace11b -r 2dded14eb0cc share/man/man9/setrunqueue.9
--- a/share/man/man9/setrunqueue.9      Fri Jul 05 04:02:14 2002 +0000
+++ b/share/man/man9/setrunqueue.9      Fri Jul 05 04:03:15 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: setrunqueue.9,v 1.2 2002/02/13 08:18:51 ross Exp $
+.\"    $NetBSD: setrunqueue.9,v 1.3 2002/07/05 04:03:15 nathanw Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -69,3 +69,15 @@
 error to call
 .Nm remrunqueue
 with a process that is not on the system run queue.
+.Pp
+These functions must be called with the scheduler lock held and at the
+.Nm splsched
+interrupt protection level. The macros 
+.Dv SCHED_LOCK(s) ,
+.Dv SCHED_UNLOCK(s) ,
+and
+.Dv SCHED_ASSERT_LOCKED() ,
+are provided for this locking interface.
+
+.Sh SEE ALSO
+.Xr splsched 9 ,



Home | Main Index | Thread Index | Old Index