poll.2: Add pointer to select(2) for discussion of close in another thread

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-08-17 08:34:42 +02:00
parent 10ed041e56
commit f33050d604
1 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@
.\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and .\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and
.\" formatting changes. .\" formatting changes.
.\" .\"
.TH POLL 2 2012-05-05 "Linux" "Linux Programmer's Manual" .TH POLL 2 2012-08-17 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
poll, ppoll \- wait for some event on a file descriptor poll, ppoll \- wait for some event on a file descriptor
.SH SYNOPSIS .SH SYNOPSIS
@ -340,6 +340,11 @@ with the value \-1 for use as a
for for
.BR poll (). .BR poll ().
This constant is not provided in glibc. This constant is not provided in glibc.
For a discussion of what may happen if a file descriptor being monitored by
.BR poll ()
is closed in another thread, see
.BR select (2).
.SS "Linux Notes" .SS "Linux Notes"
The Linux The Linux
.BR ppoll () .BR ppoll ()