Add note about condvars not working with spin locks.

This commit is contained in:
Warner Losh 2007-06-05 20:45:10 +00:00
parent 69f6d261cf
commit 8effe33f10

View File

@ -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