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