summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-03-25 21:20:50 +0000
committeroga <oga@openbsd.org>2009-03-25 21:20:50 +0000
commit4caa99b437df02bd252186dffe26878f8994fdc0 (patch)
tree4db4cbe1cca9e7e9ca2541b0781c0b8e5f9051bd
parentntfs was the last user, LK_SLEEFAIL can die now. (diff)
downloadwireguard-openbsd-4caa99b437df02bd252186dffe26878f8994fdc0.tar.xz
wireguard-openbsd-4caa99b437df02bd252186dffe26878f8994fdc0.zip
Remove LK_SLEEPFAIL
-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.