diff options
author | imp <imp@FreeBSD.org> | 2007-06-05 20:45:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-05 20:45:10 +0000 |
commit | 6b1f772f1f1a17ed185d4898bb070b0f4fab5fbe (patch) | |
tree | 6a4b9d1d8643508bf898315fd5c417f90d1cfa5a /share/man/man9/condvar.9 | |
parent | fa73dc8565792a60ca8ca43adb1ddd24654a7e00 (diff) | |
download | FreeBSD-src-6b1f772f1f1a17ed185d4898bb070b0f4fab5fbe.zip FreeBSD-src-6b1f772f1f1a17ed185d4898bb070b0f4fab5fbe.tar.gz |
Add note about condvars not working with spin locks.
Diffstat (limited to 'share/man/man9/condvar.9')
-rw-r--r-- | share/man/man9/condvar.9 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9 index b54341a..fc94f5c 100644 --- a/share/man/man9/condvar.9 +++ b/share/man/man9/condvar.9 @@ -117,6 +117,12 @@ argument is a pointer to either a or .Xr sx 9 lock. +A +.Xr mutex 9 +argument must be initialized with +.Dv MTX_DEF +and not +.Dv MTX_SPIN . A thread must hold .Fa lock before calling |