summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-04-04 16:59:58 +0000
committerimp <imp@FreeBSD.org>2008-04-04 16:59:58 +0000
commit30afe603df11f74ffd51576bef1ddc2ac669bcb1 (patch)
tree2b901996a1e1ef4b18f72ed10978a01adfa9c53f
parentd6dabc3153c96a0f27189a972d5839554702caa0 (diff)
downloadFreeBSD-src-30afe603df11f74ffd51576bef1ddc2ac669bcb1.zip
FreeBSD-src-30afe603df11f74ffd51576bef1ddc2ac669bcb1.tar.gz
Add note about PZERO being obsolete, because so much code uses it.
Feel free to improve the verbage, since this was a compromise between conflicting feedback I got on my original version.
-rw-r--r--share/man/man9/sleep.96
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 0029242..aa87642 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 27, 2007
+.Dd April 4, 2008
.Os
.Dt SLEEP 9
.Sh NAME
@@ -93,6 +93,10 @@ then the thread will be made
runnable with the specified
.Fa priority
when it resumes.
+.Dv PZERO
+should never be used, as it is for compatibility only.
+A new priority of 0 means to use the thread's current priority when
+it is made runnable again.
If
.Fa priority
includes the
OpenPOWER on IntegriCloud