xtd 0.2.0
Loading...
Searching...
No Matches
auto_reset_event.hpp
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 namespace threading {
37 public:
39
43 auto_reset_event() = default;
46 explicit auto_reset_event(bool initial_state) : event_wait_handle(initial_state, event_reset_mode::auto_reset) {}
48 };
49 }
50}
Represents a thread synchronization event that, when signaled, resets automatically after releasing a...
Definition auto_reset_event.hpp:36
auto_reset_event()=default
Initializes a new instance of the xtd::threading::auto_reset_event class.
auto_reset_event(bool initial_state)
Initializes a new instance of the xtd::threading::auto_reset_event class with a bool value indicating...
Definition auto_reset_event.hpp:46
Represents a thread synchronization event.
Definition event_wait_handle.hpp:37
Contains xtd::threading::event_wait_handle exception.
event_reset_mode
Indicates whether an xtd::threading::event_wait_handle is reset automatically or manually after recei...
Definition event_reset_mode.hpp:24
@ auto_reset
When signaled, the xtd::threading::event_wait_handle resets automatically after releasing a single th...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10