On 1/20/20 12:10 PM, John Jones wrote: > 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 > 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. > > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/