commit | 7cf49f1817aa50fbcc271b34ce79241d479db5f9 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Fri Jul 15 15:18:57 2016 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Fri Jul 15 15:18:57 2016 +0300 |
tree | 8569c90681ada207b182ff4b583225c7a70f3d9e | |
parent | 753d0ed85c52fdc42e9ffc7a8a88137bf8ed0e67 [diff] |
Events: support for EPOLLEXCLUSIVE. This flag appeared in Linux 4.5 and is useful for avoiding thundering herd problem. The current Linux kernel implementation walks the list of exclusive waiters, and queues an event to each epfd, until it finds the first waiter that has threads blocked on it via epoll_wait().