createWakeupHandle

fnHandle createWakeupHandle() @trusted nothrow @nogc

Create a Windows Event handle for wakeup notifications.

Creates a manual-reset event object in the nonsignaled state. The event can be signaled with writeWakeup and checked/reset with readWakeup.

Returns

A valid Handle wrapping the Event handle on success, or an

invalid Handle if creation fails.

See Also

writeWakeup, readWakeup