Module epoll

Module epoll 

Source

Structsยง

Epoll ๐Ÿ”’
An Epoll file descriptor connects file handles and epoll events
EpollEventInterest
Tracks the events that this epoll is interested in for a given file descriptor.
EpollEvents
EpollReadyEvents reflects the readiness of a file description.
EpollInterestTable
The table of all EpollEventInterest. This tracks, for each file description, which epoll instances have an interest in events for this file description. The FdId is the ID of the epoll instance, so that we can recognize it later when it is slated for removal. The vector is sorted by that ID.

Traitsยง

EvalContextExt

Functionsยง

range_for_id ๐Ÿ”’
Returns the range of all EpollEventKey for the given FD ID.
return_ready_list ๐Ÿ”’
Stores the ready list of the epfd epoll instance into events (which must be an array), and the number of returned events into dest.
update_readiness ๐Ÿ”’
Call this when the interests denoted by for_each_interest have their active event set changed to active_events. The list is provided indirectly via the for_each_interest closure, which will call its argument closure for each relevant interest.

Type Aliasesยง

EpollEventKey ๐Ÿ”’