Home
last modified time | relevance | path

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

/PHP-5.3/sapi/fpm/fpm/events/
H A Dpoll.c51 static int next_free_slot = 0; variable
191 if (pollfds[next_free_slot].fd == -1) { in fpm_event_poll_add()
193 pollfds[next_free_slot].fd = ev->fd; in fpm_event_poll_add()
197 ev->index = next_free_slot++; in fpm_event_poll_add()
198 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
199 next_free_slot = 0; in fpm_event_poll_add()
216 ev->index = next_free_slot++; in fpm_event_poll_add()
217 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
218 next_free_slot = 0; in fpm_event_poll_add()
238 next_free_slot = ev->index; in fpm_event_poll_remove()
[all …]

Completed in 4 milliseconds