mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Note that epoll_wait() round robins through the set of ready descriptors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e3a60d1ce2
commit
fc9294cb6f
|
@ -217,6 +217,18 @@ it will cause the
|
|||
.BR epoll_wait ()
|
||||
call to unblock.
|
||||
.PP
|
||||
If more than
|
||||
.I maxevents
|
||||
file descriptors are ready when
|
||||
.BR epoll_wait ()
|
||||
is called, then successive
|
||||
.BR epoll_wait ()
|
||||
calls will round robin through the set of ready file descriptors.
|
||||
This behavior helps avoid starvation scenarios,
|
||||
where a process fails to notice that additional file descriptors
|
||||
are ready because it focuses on a set of file descriptors that
|
||||
are already known to be ready.
|
||||
.PP
|
||||
Note that it is possible to call
|
||||
.BR epoll_wait ()
|
||||
on an
|
||||
|
|
Loading…
Reference in New Issue