Skip to main content

Module event

Module event 

Source
Expand description

Event operations.

Structs§

PollFd
struct pollfd—File descriptor and flags for use with poll.
PollFlags
POLL* flags for use with poll.
Timespec
struct timespec—A quantity of time in seconds plus nanoseconds.

Functions§

pause
pause()—Sleep until interrupted by a signal.
poll
poll(self.fds, timeout)—Wait for events on lists of file descriptors.

Type Aliases§

Nsecs
A type for the tv_nsec field of Timespec.
Secs
A type for the tv_sec field of Timespec.