DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
AutoResetEvent.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 AutoResetEvent(bool initialState);
24
29 DOTNETDUPE_API AutoResetEvent(const String& sName, bool initialState = false, bool openAlways = true);
30
35 DOTNETDUPE_API AutoResetEvent(bool initialState, const String& sName, bool openAlways = true);
36
42 DOTNETDUPE_API AutoResetEvent(bool initialState, const String& sName, bool openAlways, bool& bCreatedNew);
43
49
54 DOTNETDUPE_API static bool TryOpenExisting(const String& sName, SmartPointer<AutoResetEvent>& 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
AutoResetEvent(bool initialState)
Initializes a new instance of the AutoResetEvent class with a Boolean value indicating whether to set...
static bool TryOpenExisting(const String &sName, SmartPointer< AutoResetEvent > &pResult)
Opens an existing named system auto-reset event, and returns a value that indicates whether the opera...
static SmartPointer< AutoResetEvent > OpenExisting(const String &sName)
Opens an existing named system auto-reset event.
EventWaitHandle(bool initialState, bool manualReset)
Initializes a new instance of the EventWaitHandle class, specifying whether the wait handle is initia...