xtd 0.2.0
Loading...
Searching...
No Matches

◆ event_reset_mode

Indicates whether an xtd::threading::event_wait_handle is reset automatically or manually after receiving a signal.

enum class event_reset_mode
event_reset_mode
Indicates whether an xtd::threading::event_wait_handle is reset automatically or manually after recei...
Definition event_reset_mode.h:24
Header
#include <xtd/threading/event_reset_mode>
Namespace
xtd::threading
Library
xtd.core
Enumerator
auto_reset 

When signaled, the xtd::threading::event_wait_handle resets automatically after releasing a single thread. If no threads are waiting, the xtd::threading::event_wait_handle remains signaled until a thread blocks, and resets after releasing the thread.

manual_reset 

When signaled, the xtd::threading::event_wait_handle releases all waiting threads and remains signaled until it is manually reset.