8#include "Arp/System/Core/PimplPtr.hxx"
9#include "Arp/System/Commons/Threading/Mutex.hpp"
24 using Ptr = std::shared_ptr<ManualResetEvent>;
Adapter class to implement PImpl idiom.
Definition: PimplPtr.hxx:15
Event object to signal a single thread that an event has occurred. Can be used to synchronize threads...
Definition: ManualResetEvent.hpp:21
bool WaitOne(uint64 timeoutMs=0)
Suspends thread execution until event is signaled by another thread.
Definition: ManualResetEvent.cpp:35
void Reset(void)
Resets the event state to non-signaled.
Definition: ManualResetEvent.cpp:55
ManualResetEvent & operator=(ManualResetEvent &&arg) noexcept
Default move-assignment operator.
ManualResetEvent(bool initial=false)
Creates a new object with specified initial state.
Definition: ManualResetEvent.cpp:9
ManualResetEvent(ManualResetEvent &&arg) noexcept
Default move constructor.
std::shared_ptr< ManualResetEvent > Ptr
Definition of a pointer in the context of an ManualResetEvent.
Definition: ManualResetEvent.hpp:24
~ManualResetEvent()
Default destructor.
void Set(void)
Sets the event to signaled state.
Definition: ManualResetEvent.cpp:50
bool WaitOneTimed(uint64 timeoutMs)
Suspends thread execution until event is signaled by another thread.
Definition: ManualResetEvent.cpp:45
Impl & GetImpl(void)
For internal use only.
Definition: ManualResetEvent.cpp:24
void WaitOneInfinite(void)
Suspends thread execution until event is signaled by another thread.
Definition: ManualResetEvent.cpp:40
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:37
Namespace for classes handling threads and synchronization