select — Waiting for I/O completion
This module provides access to the
poll() functions available in most operating systems,
devpoll() available on Solaris and derivatives,
epoll() available on Linux 2.5+ and
kqueue() available on most BSD. Note that on Windows, it only works for sockets; on other operating systems, it also works for other file types (in particular, on Unix, it works on pipes). It cannot be used on regular files to determine whether a file has grown since it was last read.
selectors — High-level I/O multiplexing