Searched refs:pfd (Results 1 – 1 of 1) sorted by relevance
/php-src/sapi/fpm/fpm/events/ |
H A D | port.c | 46 static int pfd = -1; variable 68 pfd = port_create(); in fpm_event_port_init() 69 if (pfd < 0) { in fpm_event_port_init() 95 if (pfd > -1) { in fpm_event_port_clean() 96 close(pfd); in fpm_event_port_clean() 97 pfd = -1; in fpm_event_port_clean() 126 ret = port_getn(pfd, events, nevents, &nget, &t); in fpm_event_port_wait() 177 if (port_associate(pfd, PORT_SOURCE_FD, ev->fd, POLLIN, (void *)ev) < 0) { in fpm_event_port_add() 191 if (port_dissociate(pfd, PORT_SOURCE_FD, ev->fd) < 0) { in fpm_event_port_remove()
|
Completed in 10 milliseconds