]> 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)
commit91df4f0746ae61087fb2cb18b3a1de091c4bf8ef
treed51df0024926426e3adb35168b3a9f116aa0d099
parent1a4ea1acc717221b873f0cfdd0649dbb94595ec2
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