summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sleep.9
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2006-02-22 20:50:33 +0000
committerjmg <jmg@FreeBSD.org>2006-02-22 20:50:33 +0000
commite38adb7f1e003d299895a00feb5d15a5c699801c (patch)
tree3e024e98f327321275d5824b89ef30729f14ac17 /share/man/man9/sleep.9
parent1462e3bf37331509cfebf973bebbfdf13c264266 (diff)
downloadFreeBSD-src-e38adb7f1e003d299895a00feb5d15a5c699801c.zip
FreeBSD-src-e38adb7f1e003d299895a00feb5d15a5c699801c.tar.gz
allow timo to be 0 when mtx is not NULL (KASSERT allowed this as
pointed out by jhb) Reviewed by: jhb MFC after: 3 days
Diffstat (limited to 'share/man/man9/sleep.9')
-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 aa5d66e..1e2cc73 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -99,7 +99,11 @@ Sleeps at most
\&/ hz seconds (0 means no timeout).
If the
.Va Giant
-lock is not held, then
+lock is not held and
+.Fa mtx
+is
+.Dv NULL ,
+then
.Fa timo
must be non-zero.
If
OpenPOWER on IntegriCloud