summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-05-26 00:13:12 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-05-26 00:13:12 +0000
commit8fd8f5d111ec2aa383bf3a5dd4a7f0394d0f9f57 (patch)
tree3bc10a18c2d2d8dba9f1d1e407fa6a5c03025127
parentd777af456a4a86720dc4b83e32882584bb331833 (diff)
document two new states (deadlock and spinblock)
-rw-r--r--lib/libc_r/man/pthreads.36
-rw-r--r--lib/libpthread/man/pthreads.36
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc_r/man/pthreads.3 b/lib/libc_r/man/pthreads.3
index b42a627c6e6..3ad04b2c416 100644
--- a/lib/libc_r/man/pthreads.3
+++ b/lib/libc_r/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 .
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 .