]> git.kaiwu.me - nginx.git/commit
Events: support for EPOLLEXCLUSIVE.
authorValentin Bartenev <vbart@nginx.com>
Fri, 15 Jul 2016 12:18:57 +0000 (15:18 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 15 Jul 2016 12:18:57 +0000 (15:18 +0300)
commit5c2dd3913aad5c4bf7d9056e1336025c2703586b
tree8569c90681ada207b182ff4b583225c7a70f3d9e
parentb60534e0d8f943740fb6847ac0a1ff3091a373d0
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().
auto/modules
auto/os/linux
src/event/modules/ngx_epoll_module.c
src/event/ngx_event.c
src/event/ngx_event.h