summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_spin_lock.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-06-17 17:51:17 +0000
committerru <ru@FreeBSD.org>2004-06-17 17:51:17 +0000
commit309b690374c311ffd3bb56b646bf1e055b176a35 (patch)
tree44d1b91a555b9e1e34b9891cf92d4b676d9c4cd1 /share/man/man3/pthread_spin_lock.3
parentc5e3be2b7c773a43ddb3ba7e6ea11476dc4a367d (diff)
downloadFreeBSD-src-309b690374c311ffd3bb56b646bf1e055b176a35.zip
FreeBSD-src-309b690374c311ffd3bb56b646bf1e055b176a35.tar.gz
Fixed markup bugs.
Diffstat (limited to 'share/man/man3/pthread_spin_lock.3')
-rw-r--r--share/man/man3/pthread_spin_lock.320
1 files changed, 9 insertions, 11 deletions
diff --git a/share/man/man3/pthread_spin_lock.3 b/share/man/man3/pthread_spin_lock.3
index 0dc4490..64edc82 100644
--- a/share/man/man3/pthread_spin_lock.3
+++ b/share/man/man3/pthread_spin_lock.3
@@ -24,10 +24,8 @@
.\"
.\" $FreeBSD$
.\"
-.\" Note: The date here should be updated whenever a non-trivial
-.\" change is made to the manual page.
.Dd January 22, 2004
-.Dt PTHREAD_SPIN_LOCK 3 PTHREAD_SPIN_TRYLOCK 3 PTHREAD_SPIN_UNLOCK 3
+.Dt PTHREAD_SPIN_LOCK 3
.Os
.Sh NAME
.Nm pthread_spin_lock pthread_spin_trylock pthread_spin_unlock
@@ -49,7 +47,7 @@ The
function will acquire
.Fa lock
if it is not currently owned by another thread.
-If the lock cannot be acquired immediately it will
+If the lock cannot be acquired immediately, it will
spin attempting to acquire the lock (it will not sleep) until
it becomes available.
.Pp
@@ -69,12 +67,12 @@ which must have been previously locked by a call to
.Fn pthread_spin_lock
or
.Fn pthread_spin_trylock .
-.Sh DIAGNOSTICS
-If successful all these functions will return zero.
-Otherwise an error number will be returned to indicate the error.
-.Pp
-None of these functions will return EINTR.
+.Sh RETURN VALUES
+If successful, all these functions will return zero.
+Otherwise, an error number will be returned to indicate the error.
.Pp
+None of these functions will return
+.Er EINTR .
.Sh ERRORS
The
.Fn pthread_spin_lock ,
@@ -115,8 +113,8 @@ The calling thread does not own
.Fa lock .
.El
.Sh SEE ALSO
-.Xr pthread_spin_init 3 ,
-.Xr pthread_spin_destroy 3
+.Xr pthread_spin_destroy 3 ,
+.Xr pthread_spin_init 3
.Sh HISTORY
The
.Fn pthread_spin_lock ,
OpenPOWER on IntegriCloud