Searched refs:poller (Results 1 – 1 of 1) sorted by relevance
187 php_cli_server_poller poller; member749 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor()750 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor()751 poller->max_fd = -1; in php_cli_server_poller_ctor()763 if (fd > poller->max_fd) { in php_cli_server_poller_add()764 poller->max_fd = fd; in php_cli_server_poller_add()777 if (fd == poller->max_fd) { in php_cli_server_poller_remove()784 poller->max_fd = fd; in php_cli_server_poller_remove()791 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll()792 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); in php_cli_server_poller_poll()[all …]
Completed in 10 milliseconds