summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-06-12 09:06:25 +0000
committerharti <harti@FreeBSD.org>2003-06-12 09:06:25 +0000
commit8ce1f89230ef6e11aff77011055e2cc6ee7428aa (patch)
treeb352c3b1d00bf9fc37158487b6721c1112ab3ce6 /share/man
parentc707f7c3f355057843e57959f2e9f1d767bf16f5 (diff)
downloadFreeBSD-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')
-rw-r--r--share/man/man9/sx.92
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 ,
OpenPOWER on IntegriCloud