comparison auto/os/linux @ 8741:7f95010f10b7 quic

Merged with the default branch.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 16 Apr 2021 19:35:55 +0300
parents 7df607cb2d11 e2e9e0fae747
children bb5152ed045b
comparison
equal deleted inserted replaced
8740:cc3e9c131d79 8741:7f95010f10b7
84 struct epoll_event ee; 84 struct epoll_event ee;
85 ee.events = EPOLLIN|EPOLLEXCLUSIVE; 85 ee.events = EPOLLIN|EPOLLEXCLUSIVE;
86 ee.data.ptr = NULL; 86 ee.data.ptr = NULL;
87 epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ee)" 87 epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ee)"
88 . auto/feature 88 . auto/feature
89
90
91 # eventfd()
92
93 ngx_feature="eventfd()"
94 ngx_feature_name="NGX_HAVE_EVENTFD"
95 ngx_feature_run=no
96 ngx_feature_incs="#include <sys/eventfd.h>"
97 ngx_feature_path=
98 ngx_feature_libs=
99 ngx_feature_test="(void) eventfd(0, 0)"
100 . auto/feature
101
102 if [ $ngx_found = yes ]; then
103 have=NGX_HAVE_SYS_EVENTFD_H . auto/have
104 fi
105
106
107 if [ $ngx_found = no ]; then
108
109 ngx_feature="eventfd() (SYS_eventfd)"
110 ngx_feature_incs="#include <sys/syscall.h>"
111 ngx_feature_test="(void) SYS_eventfd"
112 . auto/feature
113 fi
89 fi 114 fi
90 115
91 116
92 # O_PATH and AT_EMPTY_PATH were introduced in 2.6.39, glibc 2.14 117 # O_PATH and AT_EMPTY_PATH were introduced in 2.6.39, glibc 2.14
93 118