summaryrefslogtreecommitdiff
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-08-17 08:41:35 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-08-17 08:41:35 +0200
commit67378c484271124c011bd5fd3b1f2e11309c940a (patch)
treee7d583e8a2fa691b0cdf6967fec91f733f7ce430 /man2
parentf33050d6041f05669735d4a51fd47f574382865a (diff)
epoll_wait.2: Add pointer to select(2) for discussion of close in another thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/epoll_wait.29
1 files changed, 8 insertions, 1 deletions
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index d43c098f..c91870a4 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -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