writeWakeup

fnint writeWakeup(Handle handle) @trusted nothrow @nogc

Signal a Windows Event to trigger a wakeup notification.

Sets the event to the signaled state, causing any waiting WaitForSingleObject or readWakeup call to succeed.

Parameters

handleThe Event handle to signal.

Returns

0 on success, or -1 on failure.