Document the fact that one is allowed to sleep while holding an sx lock.
Discussed with: jhb@
This commit is contained in:
parent
eb74baf398
commit
33f73ee488
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116255
@ -161,6 +161,8 @@ by the first argument.
|
||||
.Pp
|
||||
A thread may not own a shared lock and an exclusive lock simultaneously;
|
||||
attempting to do so will result in deadlock.
|
||||
.Sh CONTEXT
|
||||
It is allowed to to own a shared lock or an exclusive lock while sleeping.
|
||||
.Sh SEE ALSO
|
||||
.Xr condvar 9 ,
|
||||
.Xr mtx_pool 9 ,
|
||||
|
Loading…
Reference in New Issue
Block a user