DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
ManualResetEvent.h
Go to the documentation of this file.
1
5
6#pragma once
9
10namespace DotNetDupe {
11 namespace System {
12 namespace Threading {
20 public:
23 DOTNETDUPE_API ManualResetEvent(bool initialState);
24
29 DOTNETDUPE_API ManualResetEvent(const String& sName, bool initialState = false, bool openAlways = true);
30
35 DOTNETDUPE_API ManualResetEvent(bool initialState, const String& sName, bool openAlways = true);
36
42 DOTNETDUPE_API ManualResetEvent(bool initialState, const String& sName, bool openAlways, bool& bCreatedNew);
43
49
54 DOTNETDUPE_API static bool TryOpenExisting(const String& sName, SmartPointer<ManualResetEvent>& pResult);
55 };
56 }
57 }
58}
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Represents a thread synchronization event supporting automatic and manual reset modes.
Provides reference-counted and weak pointer memory management primitives ensuring zero raw ownership.
A unified smart pointer that supports both unique and shared ownership semantics.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
EventWaitHandle(bool initialState, bool manualReset)
Initializes a new instance of the EventWaitHandle class, specifying whether the wait handle is initia...
ManualResetEvent(bool initialState)
Initializes a new instance of the ManualResetEvent class with a Boolean value indicating whether to s...
static bool TryOpenExisting(const String &sName, SmartPointer< ManualResetEvent > &pResult)
Opens an existing named system manual-reset event, and returns a value that indicates whether the ope...
static SmartPointer< ManualResetEvent > OpenExisting(const String &sName)
Opens an existing named system manual-reset event.