summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2003-12-27 14:01:08 +0000
committerjkoshy <jkoshy@FreeBSD.org>2003-12-27 14:01:08 +0000
commit7fe60e37640510044a2a6bfa5b81da84d9f1f2c8 (patch)
tree42bfc7ae2f3410412c4eb5036f76382894903b8c /share
parent890b93648b786133619f78971479daff0a89b74a (diff)
downloadFreeBSD-src-7fe60e37640510044a2a6bfa5b81da84d9f1f2c8.zip
FreeBSD-src-7fe60e37640510044a2a6bfa5b81da84d9f1f2c8.tar.gz
Improve continuity of text.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/sx.929
1 files changed, 14 insertions, 15 deletions
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9
index 95dbe12..d2c442c 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -126,21 +126,6 @@ The
function tests specified conditions and panics if they are not met and the
kernel is compiled with
.Dv INVARIANTS .
-.Pp
-The
-.Fn SX_SYSINIT
-macro is used to generate a call to the
-.Fn sx_sysinit
-routine at system startup in order to initialize a given
-.Fa sx
-lock.
-The parameters are the same as
-.Fn sx_init
-but with an additional argument,
-.Fa name ,
-that is used in generating unique variable names for the related
-structures associated with the lock and the sysinit routine.
-.Pp
The following assertions are supported:
.Bl -tag -width ".Dv SX_XLOCKED"
.It Dv SX_LOCKED
@@ -159,6 +144,20 @@ lock pointed to
by the first argument.
.El
.Pp
+The
+.Fn SX_SYSINIT
+macro is used to generate a call to the
+.Fn sx_sysinit
+routine at system startup in order to initialize a given
+.Fa sx
+lock.
+The parameters are the same as
+.Fn sx_init
+but with an additional argument,
+.Fa name ,
+that is used in generating unique variable names for the related
+structures associated with the lock and the sysinit routine.
+.Pp
A thread may not own a shared lock and an exclusive lock simultaneously;
attempting to do so will result in deadlock.
.Sh CONTEXT
OpenPOWER on IntegriCloud