Searched refs:poller (Results 1 – 1 of 1) sorted by relevance
186 php_cli_server_poller poller; member867 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor()868 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor()869 poller->max_fd = -1; in php_cli_server_poller_ctor()881 if (fd > poller->max_fd) { in php_cli_server_poller_add()882 poller->max_fd = fd; in php_cli_server_poller_add()895 if (fd == poller->max_fd) { in php_cli_server_poller_remove()902 poller->max_fd = fd; in php_cli_server_poller_remove()909 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll()910 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); in php_cli_server_poller_poll()[all …]
Completed in 14 milliseconds