diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:13 +0300 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:13 +0300 |
| commit | e10e7a4831cfaf6a41824da7c35819fc7f58f8ee (patch) | |
| tree | 6d8db83ee662901d17e1eafb77c8f24df174cdd3 /auto/unix | |
| parent | 305fc021db799c87d751f0f1f5e99afee7bb2b3b (diff) | |
| download | nginx-e10e7a4831cfaf6a41824da7c35819fc7f58f8ee.tar.gz nginx-e10e7a4831cfaf6a41824da7c35819fc7f58f8ee.tar.bz2 | |
Events: implemented epoll notification mechanism.
Diffstat (limited to 'auto/unix')
| -rwxr-xr-x | auto/unix | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -450,6 +450,29 @@ Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ only END exit 1 fi + +else + + ngx_feature="eventfd()" + ngx_feature_name="NGX_HAVE_EVENTFD" + ngx_feature_run=no + ngx_feature_incs="#include <sys/eventfd.h>" + ngx_feature_path= + ngx_feature_libs= + ngx_feature_test="(void) eventfd(0, 0)" + . auto/feature + + if [ $ngx_found = yes ]; then + have=NGX_HAVE_SYS_EVENTFD_H . auto/have + fi + + if [ $ngx_found = no ]; then + + ngx_feature="eventfd() (SYS_eventfd)" + ngx_feature_incs="#include <sys/syscall.h>" + ngx_feature_test="int n = SYS_eventfd" + . auto/feature + fi fi |
