diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-01-07 02:41:45 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-01-07 02:41:45 +0000 |
commit | 69e3b33000467f19acf908cfae09bc822bf00d40 (patch) | |
tree | 66311c51d725a2178860e959f7d42e0d73a3e5d7 /share/man/man9/sleep.9 | |
parent | 2ecef44547258264cd20daf841e29f8dedd9def4 (diff) | |
download | FreeBSD-src-69e3b33000467f19acf908cfae09bc822bf00d40.zip FreeBSD-src-69e3b33000467f19acf908cfae09bc822bf00d40.tar.gz |
Point out that tsleep(... , 0) is not permitted if the Giant lock is not
held. (It causes a "sleeping without a mutex" assertion failure in
msleep.)
MFC after: 3 days
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r-- | share/man/man9/sleep.9 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index ff6ddf4..4c4753f 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -95,6 +95,11 @@ runnable with the specified Sleeps at most .Fa timo \&/ hz seconds (0 means no timeout). +If the +.Va Giant +lock is not held, then +.Fa timo +must be non-zero. If .Fa priority includes the |