summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-06-07 16:18:57 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-06-07 16:18:57 +0000
commit2f0c2b4b52a9dfcf00915b91a9bb88e0d08d7477 (patch)
treeea109842e02eb1b0e5d72bf834df0ed8a1d5d5f3
parente0deffaece5b725503a9672c02bd357d503c7d84 (diff)
remove historic note about multiple processes. mostly irrelevant today.
ok deraadt millert
-rw-r--r--lib/libc/sys/poll.210
-rw-r--r--lib/libc/sys/select.212
2 files changed, 4 insertions, 18 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index 63d3d44e467..fd276bf8ad6 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: poll.2,v 1.32 2015/12/25 01:48:08 tb Exp $
+.\" $OpenBSD: poll.2,v 1.33 2016/06/07 16:18:56 tedu Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\"
-.Dd $Mdocdate: December 25 2015 $
+.Dd $Mdocdate: June 7 2016 $
.Dt POLL 2
.Os
.Sh NAME
@@ -367,9 +367,3 @@ Similarly, the
and
.Dv POLLRDBAND
flags are also equivalent.
-.Pp
-Internally to the kernel,
-.Fn poll
-and
-.Fn ppoll
-work poorly if multiple processes wait on the same file descriptor.
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 1e150d458c6..833f415359b 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: select.2,v 1.40 2015/11/10 23:48:18 jmc Exp $
+.\" $OpenBSD: select.2,v 1.41 2016/06/07 16:18:56 tedu Exp $
.\" $NetBSD: select.2,v 1.5 1995/06/27 22:32:28 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)select.2 8.2 (Berkeley) 3/25/94
.\"
-.Dd $Mdocdate: November 10 2015 $
+.Dd $Mdocdate: June 7 2016 $
.Dt SELECT 2
.Os
.Sh NAME
@@ -293,11 +293,3 @@ and using
.Fn timersub
(as described in
.Xr getitimer 2 ) .
-.Pp
-Internally to the kernel,
-.Fn select
-and
-.Fn pselect
-work poorly if multiple processes wait on the same file descriptor.
-Given that, it is rather surprising to see that many daemons are
-written that way.