From 8ce1f89230ef6e11aff77011055e2cc6ee7428aa Mon Sep 17 00:00:00 2001 From: harti Date: Thu, 12 Jun 2003 09:06:25 +0000 Subject: Document the fact that one is allowed to sleep while holding an sx lock. Discussed with: jhb@ --- share/man/man9/sx.9 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/man') 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 , -- cgit v1.1