mirror of https://github.com/mkerrisk/man-pages
epoll_ctl.2: minor clarification concerning when a WAKEUP event is "processed"
I guess it should be obvious, but it never hurts to be explicit. When the epoll file descriptor is closed all events are assumed to be "processed". Also if the event is removed with EPOLL_CTL_DEL or the EPOLLWAKEUP flag is removed with EPOLL_CTL_MOD the event will be "processed". Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
19b7ee90c3
commit
c835f12b9b
|
@ -173,7 +173,14 @@ until the next call to
|
|||
.BR epoll_wait (2)
|
||||
on the same
|
||||
.BR epoll (7)
|
||||
file descriptor.
|
||||
file descriptor,
|
||||
the closure of that file descriptor,
|
||||
the removal of the event file descriptor with
|
||||
.BR EPOLL_CTL_DEL ,
|
||||
or the clearing of
|
||||
.B EPOLLWAKEUP
|
||||
for the event file descriptor with
|
||||
.BR EPOLL_CTL_MOD .
|
||||
See also BUGS.
|
||||
.SH RETURN VALUE
|
||||
When successful,
|
||||
|
|
Loading…
Reference in New Issue