xtd 0.2.0
Loading...
Searching...
No Matches
manual_reset_event.h
Go to the documentation of this file.
1
4#pragma once
5#include "event_wait_handle.h"
6
8namespace xtd {
10 namespace threading {
34 public:
36
38 manual_reset_event() = default;
42 explicit manual_reset_event(bool initial_state) : event_wait_handle(initial_state, event_reset_mode::manual_reset) {}
44 };
45 }
46}
Represents a thread synchronization event.
Definition event_wait_handle.h:35
Represents a thread synchronization event that, when signaled, must be reset manually....
Definition manual_reset_event.h:33
manual_reset_event(bool initial_state)
Initializes a new instance of the xtd::threading::manual_reset_event class with a bool value indicati...
Definition manual_reset_event.h:42
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.h:22
@ manual_reset
When signaled, the xtd::threading::event_wait_handle releases all waiting threads and remains signale...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10