eve.core.linux.dispatch
Event dispatch functions for the Linux event loop.
This module contains the per-event-type dispatch logic that executes watcher callbacks in response to OS events, timer expirations, and phase watcher triggers. Each function receives the host EventLoop by reference so it can access slots, the timer wheel, and DNS state.
The functions are package-visible to the eve.core.linux package only.
Functions 11
fn
int computePollTimeout(ref const EventLoop loop, int timeoutMs) pure @safe nothrow @nogcCompute the effective poll timeout, clamped by the next timer deadline.fn
bool hasPhaseOnlyWatchers(ref const EventLoop loop) @safe nothrow @nogcCheck whether only phase watchers remain active.fn
ptrdiff_t dispatchPhase(ref EventLoop loop, WatcherKind kind) @trusted nothrowDispatch all enabled watchers of the given phase kind.fn
ptrdiff_t countPhaseWatchers(ref const EventLoop loop, WatcherKind kind) pure @safe nothrow @nogcCount enabled phase watchers of the given kind.fn
bool dispatchWatcher(ref EventLoop loop, Token token) @trusted nothrowDispatch a generic (phase) watcher callback.fn
bool dispatchIo(ref EventLoop loop, Token token, IoReady ready) @trusted nothrowDispatch an I/O readiness event.fn
bool dispatchSignal(ref EventLoop loop, Token token) @trusted nothrowDispatch a signal delivery event.fn
bool dispatchWakeup(ref EventLoop loop, Token token) @trusted nothrowDispatch an async wakeup event.fn
bool dispatchOsEvent(ref EventLoop loop, OsEvent osEvent) @trusted nothrowRoute an OS event to the appropriate per-type dispatcher.fn
bool dispatchDns(ref EventLoop loop, Token token) @trusted nothrowDispatch a DNS resolution completion event.