From 2dfc8c45331564b065a19f226c730e272f558b19 Mon Sep 17 00:00:00 2001 From: ross Date: Fri, 20 Aug 1999 19:58:20 +0000 Subject: [PATCH] Note that nice +19 and nice +20 guarantee exclusion w.r.t. priority <= 0. --- lib/libc/sys/getpriority.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2 index c4dabd29d574..557e61492e9b 100644 --- a/lib/libc/sys/getpriority.2 +++ b/lib/libc/sys/getpriority.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: getpriority.2,v 1.6 1999/03/22 19:45:04 garbled Exp $ +.\" $NetBSD: getpriority.2,v 1.7 1999/08/20 19:58:20 ross Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -80,7 +80,8 @@ A zero value of denotes the current process, process group, or user. .Fa prio is a value in the range -20 to 20. The default priority is 0; -lower priorities cause more favorable scheduling. +lower priorities cause more favorable scheduling. A value of 19 or 20 +will schedule a process only when nothing at priority \*(Le 0 is runnable. .Pp The .Fn getpriority