Expand description
Event operations.
Modules§
- Linux
epoll
support.
Structs§
EFD_*
flags for use witheventfd
.- Storage element type for use with
select
. - An iterator over the fds in a set.
struct pollfd
—File descriptor and flags for use withpoll
.POLL*
flags for use withpoll
.
Functions§
eventfd(initval, flags)
—Creates a file descriptor for event notification.- Compute the minimum
nfds
value needed for the set pointed to byfds
. - Set
fd
in the set pointed to byfds
. - Compute the number of
FdSetElement
s needed to hold a set which can contain up toset_count
file descriptors with values less thannfds
. - Clear
fd
in the set pointed to byfds
. pause()
poll(self.fds, timeout)
—Wait for events on lists of file descriptors.select(nfds, readfds, writefds, exceptfds, timeout)
—Wait for events on sets of file descriptors.