From 67378c484271124c011bd5fd3b1f2e11309c940a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 17 Aug 2012 08:41:35 +0200 Subject: epoll_wait.2: Add pointer to select(2) for discussion of close in another thread Signed-off-by: Michael Kerrisk --- man2/epoll_wait.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'man2') 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 -- cgit v1.2.3