Home
last modified time | relevance | path

Searched refs:epollfd (Results 1 – 2 of 2) sorted by relevance

/PHP-7.4/sapi/fpm/fpm/events/
H A Depoll.c47 static int epollfd = -1; variable
73 epollfd = epoll_create(max + 1); in fpm_event_epoll_init()
74 if (epollfd < 0) { in fpm_event_epoll_init()
104 if (epollfd != -1) { in fpm_event_epoll_clean()
105 close(epollfd); in fpm_event_epoll_clean()
106 epollfd = -1; in fpm_event_epoll_clean()
126 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
178 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ev->fd, &e) == -1) { in fpm_event_epoll_add()
206 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, ev->fd, &e) == -1) { in fpm_event_epoll_remove()
/PHP-7.4/sapi/fpm/
H A Dconfig.m4435 int epollfd;
438 epollfd = epoll_create(1);
439 if (epollfd < 0) {
446 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, 0, &e) == -1) {
451 if (epoll_wait(epollfd, &e, 1, 1) < 0) {

Completed in 8 milliseconds