Home
last modified time | relevance | path

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

/PHP-7.3/sapi/fpm/fpm/events/
H A Dpoll.c48 static int npollfds = 0; variable
101 npollfds = max; in fpm_event_poll_init()
123 npollfds = 0; in fpm_event_poll_clean()
136 if (npollfds > 0) { in fpm_event_poll_wait()
138 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()
142 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
196 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
203 for (i = 0; i < npollfds; i++) { in fpm_event_poll_add()
215 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
234 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove()
[all …]
H A Ddevpoll.c52 static int npollfds = 0; variable
109 npollfds = max; in fpm_event_devpoll_init()
138 npollfds = 0; in fpm_event_devpoll_clean()
154 dopoll.dp_nfds = npollfds; in fpm_event_devpoll_wait()

Completed in 6 milliseconds