mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Clarify the behavior when epoll_wait()-ing on an empty interest list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a3961b2fd5
commit
e3a60d1ce2
|
@ -217,12 +217,15 @@ it will cause the
|
|||
.BR epoll_wait ()
|
||||
call to unblock.
|
||||
.PP
|
||||
For a discussion of what may happen if a file descriptor in an
|
||||
.B epoll
|
||||
instance being monitored by
|
||||
Note that it is possible to call
|
||||
.BR epoll_wait ()
|
||||
is closed in another thread, see
|
||||
.BR select (2).
|
||||
on an
|
||||
.B epoll
|
||||
instance whose interest list is currently empty
|
||||
(or whose interest list becomes empty because file descriptors are closed
|
||||
or removed from the interest in another thread).
|
||||
The call will block until some file descriptor is later added to the
|
||||
interest list (in another thread) and that file descriptor becomes ready.
|
||||
.SH BUGS
|
||||
In kernels before 2.6.37, a
|
||||
.I timeout
|
||||
|
|
Loading…
Reference in New Issue