Add note about condvars not working with spin locks.
This commit is contained in:
parent
69f6d261cf
commit
8effe33f10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user