From 235811bfea660e8e680fa06da279114b9d1eb159 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 22 Feb 2006 20:50:33 +0000 Subject: [PATCH] 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 --- share/man/man9/sleep.9 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index aa5d66ec65a..1e2cc730395 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