Skip to contentSkip to conversation

Small typo in man page "epoll"

DISCUSSION Michael Kerrisk (man-pages) 1 participant 1 message Jan 21, 2020 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · John Jones

Thank you for your efforts.

http://man7.org/linux/man-pages/man7/epoll.7.html

In the section "Level-triggered and edge-triggered note that it says "waiting on the same the same..."

Thanks, John. Fixed.

Cheers,

Michael

Quoted 10 lines

If multiple threads (or processes, if child processes have inherited
the*epoll *file descriptor acrossfork(2) <http://man7.org/linux/man-pages/man2/fork.2.html>) are blocked in epoll_wait(2) <http://man7.org/linux/man-pages/man2/epoll_wait.2.html> waiting on the same the same epoll file descriptor and a file descriptor in the interest list that is marked for edge-
triggered (*EPOLLET*) notification becomes ready, just one of the
threads (or processes) is awoken fromepoll_wait(2) <http://man7.org/linux/man-pages/man2/epoll_wait.2.html>. This provides a useful optimization for avoiding "thundering herd" wake-ups in some
scenarios.

Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/