EpollSelector.open

Open the epoll selector, makes a call to epoll_create()

class EpollSelector
override
void
open

Parameters

size uint

maximum amount of conduits that will be registered; it will grow dynamically if needed.

maxEvents uint

maximum amount of conduit events that will be returned in the selection set per call to select(); this limit is enforced by this selector.

Throws

SelectorException if there are not enough resources to open the selector (e.g. not enough file handles or memory available).

Meta