3#include "system/object.h"
4#include "system/threading/wait_handle.h"
7namespace System {
namespace Threading {
36 virtual ASPOSECPP_SHARED_API
bool Reset();
38 virtual ASPOSECPP_SHARED_API
bool Set();
45 static ASPOSECPP_SHARED_API
bool CheckResetMode(
EventResetMode mode);
Event that can be sent to waiting thread. Objects of this class should only be allocated using System...
Definition: event_wait_handle.h:23
EventWaitHandle(bool initialState, EventResetMode mode)
Constructor.
virtual bool Reset()
Sets event to non-signalling state.
virtual bool Set()
Sets event to signalling state.
~EventWaitHandle()
Destructor.
Waiting primitive base class. Objects of this class should only be allocated using System::MakeObject...
Definition: wait_handle.h:20
EventResetMode
Indicates how event state resets.
Definition: event_wait_handle.h:11
@ ManualReset
Event state should be reset manually.
@ AutoReset
Event state resets automatically on reading.
Definition: db_command.h:9