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 otherwise WSAPoll 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.

参考

  • Io\Poll\Context::__construct
  • Io\Poll\Context::getBackend
  • Io\Poll\Event
目次