summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-25 21:20:51 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-25 21:20:51 +0000
commited47070d98f8ac414c0d3fd530c487c1f39a9022 (patch)
tree114517f41b0136ac7a15988b2d5a4fc6117356b4 /share/man/man9
parentd95a13fa0d51d4b24a1d9014b58a4b6df93863a1 (diff)
Remove LK_SLEEPFAIL
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/lock.96
1 files changed, 1 insertions, 5 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index cc5cc080793..fe68393abf9 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lock.9,v 1.18 2009/03/25 01:50:50 oga Exp $
+.\" $OpenBSD: lock.9,v 1.19 2009/03/25 21:20:50 oga Exp $
.\" $NetBSD: lock.9,v 1.12 2001/11/01 01:13:43 wiz Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -157,8 +157,6 @@ Valid lock flags are:
.Bl -tag -width "LK_CANRECURSEXX" -compact
.It LK_NOWAIT
Processes should not sleep when attempting to acquire the lock.
-.It LK_SLEEPFAIL
-Processes should sleep, then return failure when acquiring the lock.
.It LK_CANRECURSE
Processes can acquire the lock recursively.
.El
@@ -216,8 +214,6 @@ Locks will always succeed unless one of the following is true:
.Bl -tag -width Er
.It Bq Er EBUSY
LK_NOWAIT is set and a sleep would be required.
-.It Bq Er ENOLCK
-LK_SLEEPFAIL is set and a sleep was done.
.It Bq Er EINTR
PCATCH is set in lock priority and a signal arrives to interrupt
a system call.