6#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
11#include <xtd/core_native_export>
20 class event_wait_handle;
48 static intmax_t
create(
bool initial_state,
bool manual_reset);
59 static bool set(intmax_t handle,
bool& io_error);
65 static bool reset(intmax_t handle,
bool& io_error);
77 static uint32_t
wait(intmax_t handle, int32_t milliseconds_timeout,
bool manual_reset);
Contains unnamed_event_wait_handle native API.
Definition unnamed_event_wait_handle.h:35
static bool reset(intmax_t handle, bool &io_error)
Sets the state of the event to nonsignaled, causing threads to block.
static intmax_t create(bool initial_state, bool manual_reset)
Create named event wait handle with specified initial state and manual reset.
static bool set(intmax_t handle, bool &io_error)
Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
static uint32_t wait(intmax_t handle, int32_t milliseconds_timeout, bool manual_reset)
Wait named event wait handle with specified event wait handle handle, timeout and manual reset.
static void destroy(intmax_t handle)
Destroy named event wait handle with specified event wait handle handle.
Represents a thread synchronization event.
Definition event_wait_handle.h:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10