Jump to content

poll (Unix)

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Tc14Hd (talk | contribs) at 21:39, 16 February 2023. The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

On *BSD and macOS, it has been largely superseded by kqueue in high performance applications.[2] On Linux, it has been superseded by ppoll and epoll.[2]

See also

[edit]

References

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