epoll_wait.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:41:35 +02:00
parent f33050d604
commit 67378c4842
1 changed files with 8 additions and 1 deletions

View File

@ -20,7 +20,7 @@
.\"
.\" 2007-04-30: mtk, Added description of epoll_pwait()
.\"
.TH EPOLL_WAIT 2 2012-08-16 "Linux" "Linux Programmer's Manual"
.TH EPOLL_WAIT 2 2012-08-17 "Linux" "Linux Programmer's Manual"
.SH NAME
epoll_wait, epoll_pwait \- wait for an I/O event on an epoll file descriptor
.SH SYNOPSIS
@ -198,6 +198,13 @@ If the new file descriptor becomes ready,
it will cause the
.BR epoll_wait ()
call to unblock.
For a discussion of what may happen if a file descriptor in an
.B epoll
instance being monitored by
.BR epoll_wait ()
is closed in another thread, see
.BR select (2).
.SH BUGS
In kernels before 2.6.37, a
.I timeout