Home
last modified time | relevance | path

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

/PHP-7.4/sapi/fpm/fpm/events/
H A Depoll.c45 static struct epoll_event *epollfds = NULL; variable
80 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
81 if (!epollfds) { in fpm_event_epoll_init()
85 memset(epollfds, 0, sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
100 if (epollfds) { in fpm_event_epoll_clean()
101 free(epollfds); in fpm_event_epoll_clean()
102 epollfds = NULL; in fpm_event_epoll_clean()
123 memset(epollfds, 0, sizeof(struct epoll_event) * nepollfds); in fpm_event_epoll_wait()
126 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
140 if (!epollfds[i].data.ptr) { in fpm_event_epoll_wait()
[all …]

Completed in 8 milliseconds