summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-02-25 07:54:33 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-02-25 07:54:33 +0000
commit43a262f50a64c1b23523c0d083c2f2dd5b1497d3 (patch)
treecc9fad002bd99d05a8b0031323562ae68ef1b7a3 /lib/libpthread
parentc6525c49eb7cbe04f72e7143afa24b46419947c4 (diff)
Apply a bit more consistency in the ordering of functions in each
group of functions. No objection from jmc@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthreads.332
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index 298ca504074..984a1c1241b 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: pthreads.3,v 1.31 2012/02/24 07:15:28 guenther Exp $
+.\" $OpenBSD: pthreads.3,v 1.32 2012/02/25 07:54:32 guenther Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
-.Dd $Mdocdate: February 24 2012 $
+.Dd $Mdocdate: February 25 2012 $
.Dt PTHREADS 3
.Os
.Sh NAME
@@ -104,12 +104,12 @@ Add a cleanup function for thread exit.
The functions available are as follows:
.Pp
.Bl -tag -width "pthread_condattr_setclock()" -compact
-.It Fn pthread_cond_broadcast
-Unblock all threads waiting for a condition variable.
-.It Fn pthread_cond_destroy
-Destroy a condition variable.
.It Fn pthread_cond_init
Create a condition variable.
+.It Fn pthread_cond_destroy
+Destroy a condition variable.
+.It Fn pthread_cond_broadcast
+Unblock all threads waiting for a condition variable.
.It Fn pthread_cond_signal
Unblock a thread waiting for a condition variable.
.It Fn pthread_cond_timedwait
@@ -129,10 +129,10 @@ Set clock attribute.
The functions available are as follows:
.Pp
.Bl -tag -width "pthread_mutexattr_getprioceiling()" -compact
-.It Fn pthread_mutex_destroy
-Free resources allocated for a mutex.
.It Fn pthread_mutex_init
Create a mutex.
+.It Fn pthread_mutex_destroy
+Free resources allocated for a mutex.
.It Fn pthread_mutex_lock
Lock a mutex.
.It Fn pthread_mutex_timedlock
@@ -200,32 +200,32 @@ Set a thread-specific data value.
The functions available are as follows:
.Pp
.Bl -tag -width "pthread_rwlockattr_getpshared()" -compact
-.It Fn pthread_rwlock_destroy
-Destroy a read/write lock.
.It Fn pthread_rwlock_init
Initialise a read/write lock.
+.It Fn pthread_rwlock_destroy
+Destroy a read/write lock.
.It Fn pthread_rwlock_rdlock
Acquire a read/write lock for reading.
.It Fn pthread_rwlock_timedrdlock
Attempt to acquire a read/write lock for reading before a specific
point in time.
+.It Fn pthread_rwlock_tryrdlock
+Attempt to acquire a read/write lock for reading without blocking.
+.It Fn pthread_rwlock_wrlock
+Acquire a read/write lock for writing.
.It Fn pthread_rwlock_timedwrlock
Attempt to acquire a read/write lock for writing before a specific
point in time.
-.It Fn pthread_rwlock_tryrdlock
-Attempt to acquire a read/write lock for reading without blocking.
.It Fn pthread_rwlock_trywrlock
Attempt to acquire a read/write lock for writing without blocking.
.It Fn pthread_rwlock_unlock
Release a read/write lock.
-.It Fn pthread_rwlock_wrlock
-Acquire a read/write lock for writing.
+.It Fn pthread_rwlockattr_init
+Initialise a read/write lock.
.It Fn pthread_rwlockattr_destroy
Destroy a read/write lock.
.It Fn pthread_rwlockattr_getpshared
Get the process shared attribute.
-.It Fn pthread_rwlockattr_init
-Initialise a read/write lock.
.It Fn pthread_rwlockattr_setpshared
Set the process shared attribute.
.El