]> git.kaiwu.me - nginx.git/commit
Events: made a failure to create a notification channel non-fatal.
authorRuslan Ermilov <ru@nginx.com>
Wed, 6 May 2015 14:04:00 +0000 (17:04 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 6 May 2015 14:04:00 +0000 (17:04 +0300)
commit26e32aaa9c023dbfae46dfee5e2b26001f6fda44
tree33fef1d7600a196e106e2beb143c5476468a9df4
parent9a31e9faab61ed6c01b81f45639f4ec1315caa85
Events: made a failure to create a notification channel non-fatal.

This may happen if eventfd() returns ENOSYS, notably seen on CentOS 5.4.
Such a failure will now just disable the notification mechanism and let
the callers cope with it, instead of failing to start worker processes.
If thread pools are not configured, this can safely be ignored.
src/event/modules/ngx_epoll_module.c