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

fnHandle createWakeupHandle() @trusted nothrow @nogcCreate an eventfd handle for wakeup notifications.
fnint writeWakeup(Handle handle) @trusted nothrow @nogcWrite to an eventfd to trigger a wakeup notification.
fnint readWakeup(Handle handle, out eventfd_t counter) @trusted nothrow @nogcRead and reset an eventfd counter.