Poll (Unix)

poll is a POSIX system call to wait for one or more file descriptors to become ready for use.

On the BSD descendants and macOS, it has been largely superseded by kqueue in high performance applications. On Linux, it has been superseded by ppoll and epoll.

See also

References

  1. ↑ Charles M. Hannum; The NetBSD Foundation, Inc. (1998). "poll, pollts — synchronous I/O multiplexing". BSD Cross Reference. NetBSD.
  2. 1 2 "Connection processing methods". nginx.org.