eve.core.linux.wakeup
Linux wakeup handling using eventfd.
This module provides helper functions for creating and managing eventfd-based wakeup mechanisms used by the event loop for cross-thread notifications and asynchronous DNS resolution.
Functions 3
fn
Handle createWakeupHandle() @trusted nothrow @nogcCreate an eventfd handle for wakeup notifications.fn
int writeWakeup(Handle handle) @trusted nothrow @nogcWrite to an eventfd to trigger a wakeup notification.fn
int readWakeup(Handle handle, out eventfd_t counter) @trusted nothrow @nogcRead and reset an eventfd counter.