summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-05-26 00:13:11 +0000
committerd <d@openbsd.org>1999-05-26 00:13:11 +0000
commitf91f682fd0cec2dc3ea938fec9aaa5fca53d109d (patch)
tree9cc1ac4049f987fed92b0f362417ea377786e9c3 /lib/libpthread/man
parentadd mb (memory barrier) instruction. from FreeBSD (diff)
downloadwireguard-openbsd-f91f682fd0cec2dc3ea938fec9aaa5fca53d109d.tar.xz
wireguard-openbsd-f91f682fd0cec2dc3ea938fec9aaa5fca53d109d.zip
document two new states (deadlock and spinblock)
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthreads.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index b42a627c6e6..3ad04b2c416 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthreads.3,v 1.3 1999/03/22 04:21:45 d Exp $
+.\" $OpenBSD: pthreads.3,v 1.4 1999/05/26 00:13:11 d Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 17, 1998
.Dt PTHREADS 3
@@ -42,6 +42,8 @@ or
.Xr pthread_cond_timedwait 3 .
.It dead
Waiting for resource deallocation by the thread garbage collector.
+.It deadlock
+Waiting for a resource held by the thread itself.
.It fdlr_wait
File descriptor read lock wait.
.It fdlw_wait
@@ -86,6 +88,8 @@ Executing
.Xr sleep 3
or
.Xr nanosleep 2 .
+.It spinblock
+Waiting for a machine-level atomic lock.
.It suspended
Suspended with
.Xr pthread_suspend_np 3 .