diff options
author | harti <harti@FreeBSD.org> | 2003-06-12 09:06:25 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-06-12 09:06:25 +0000 |
commit | 8ce1f89230ef6e11aff77011055e2cc6ee7428aa (patch) | |
tree | b352c3b1d00bf9fc37158487b6721c1112ab3ce6 /share/man/man9/sx.9 | |
parent | c707f7c3f355057843e57959f2e9f1d767bf16f5 (diff) | |
download | FreeBSD-src-8ce1f89230ef6e11aff77011055e2cc6ee7428aa.zip FreeBSD-src-8ce1f89230ef6e11aff77011055e2cc6ee7428aa.tar.gz |
Document the fact that one is allowed to sleep while holding an sx lock.
Discussed with: jhb@
Diffstat (limited to 'share/man/man9/sx.9')
-rw-r--r-- | share/man/man9/sx.9 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9 index 8eaf13d..f27e482 100644 --- a/share/man/man9/sx.9 +++ b/share/man/man9/sx.9 @@ -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 , |