Poll (Unix)
{{Short description|System call}}
{{lowercase}}
{{mono|poll}} is a POSIX system call to wait for one or more file descriptors to become ready for use.{{r|n}}
On *BSD and macOS, it has been largely superseded by kqueue in high performance applications.{{r|nginx}} On Linux, it has been superseded by {{mono|ppoll}} and {{mono|epoll}}.{{r|nginx}}
See also
References
{{Reflist |refs=
|author1= Charles M. Hannum |author2= The NetBSD Foundation, Inc. |date= 1998
|url= http://bxr.su/n/lib/libc/sys/poll.2
|title= poll, pollts — synchronous I/O multiplexing
|website= BSD Cross Reference |publisher= NetBSD
}}
|url= http://nginx.org/en/docs/events.html
|title= Connection processing methods
|website= nginx.org
}}
}}
External links
- {{man|sh|poll|SUS}}
- {{URL|http://mdoc.su/-/poll.2|man-pages for
poll(2)
in FreeBSD, NetBSD, OpenBSD and DragonFly BSD}}
{{compu-prog-stub}}