The Io\Poll\Backend enumはじめにThe Io\Poll\Backend enum lists the polling mechanisms an Io\Poll\Context can use. Which of them are available depends on the operating system. In addition to its cases, the enum provides the Io\Poll\Backend::getAvailableBackends, Io\Poll\Backend::isAvailable and Io\Poll\Backend::supportsEdgeTriggering methods. 列挙型概要Io\Poll Backend Auto Selects the most suitable backend available on the platform: event ports, kqueue or epoll if one of them is available, and otherwiseWSAPoll on Windows and poll
elsewhere.
This is the default.
Poll
The poll system call, available on all platforms
except Windows.
Epoll
The epoll interface of Linux.
Kqueue
The kqueue interface of macOS and the BSD systems.
EventPorts
The event ports of Solaris and illumos.
WSAPoll
The WSAPoll function of Windows.
参考
|