select.epoll(sizehint=-1, flags=0)
(Only supported on Linux 2.5.44 and newer.) Return an edge polling object, which can be used as Edge or Level Triggered interface for I/O events. sizehint is deprecated and completely ignored. flags can be set to EPOLL_CLOEXEC
, which causes the epoll descriptor to be closed automatically when os.execve()
is called.
See the Edge and Level Trigger Polling (epoll) Objects section below for the methods supported by epolling objects.
epoll
objects support the context management protocol: when used in a with
statement, the new file descriptor is automatically closed at the end of the block.
The new file descriptor is non-inheritable.
Changed in version 3.3: Added the flags parameter.
Changed in version 3.4: Support for the with
statement was added. The new file descriptor is now non-inheritable.
Please login to continue.