Source-Changes-HG archive

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

[src/trunk]: src/lib/librt Note that SCHED_OTHER must have priority PRI_NONE.



details:   https://anonhg.NetBSD.org/src/rev/580c5686996b
branches:  trunk
changeset: 343682:580c5686996b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Feb 20 16:00:10 2016 +0000

description:
Note that SCHED_OTHER must have priority PRI_NONE.

diffstat:

 lib/librt/sched.3 |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r fa5dcca343b4 -r 580c5686996b lib/librt/sched.3
--- a/lib/librt/sched.3 Sat Feb 20 15:20:23 2016 +0000
+++ b/lib/librt/sched.3 Sat Feb 20 16:00:10 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sched.3,v 1.11 2011/12/04 21:08:44 jym Exp $
+.\"    $NetBSD: sched.3,v 1.12 2016/02/20 16:00:10 riastradh Exp $
 .\"
 .\" Copyright (c) 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -82,6 +82,12 @@
 .Bl -tag -width flags
 .It Fa sched_priority
 Specifies the priority of the process.
+For
+.Dv SCHED_OTHER ,
+must be
+.Dv PRI_NONE ;
+the kernel will dynamically assign priorities to the thread based on
+CPU load.
 .El
 .Sh FUNCTIONS
 .Bl -tag -width compact



Home | Main Index | Thread Index | Old Index