23 State.store(0, std::memory_order_relaxed);
28 return !!State.load(std::memory_order_acquire);
33 if (!State.load(std::memory_order_acquire))
41 return State.load(std::memory_order_acquire) || WaitForSlow(WaitTime);
46 return State.load(std::memory_order_acquire) || WaitUntilSlow(WaitTime);
57 std::atomic<uint32> State = 0;
Definition UnixPlatformManualResetEvent.h:15
FUnixManualResetEvent & operator=(const FUnixManualResetEvent &)=delete
void Notify()
Definition UnixPlatformManualResetEvent.cpp:94
bool Poll()
Definition UnixPlatformManualResetEvent.h:26
void Reset()
Definition UnixPlatformManualResetEvent.h:21
FUnixManualResetEvent(const FUnixManualResetEvent &)=delete
bool WaitFor(FMonotonicTimeSpan WaitTime)
Definition UnixPlatformManualResetEvent.h:39
bool WaitUntil(FMonotonicTimePoint WaitTime)
Definition UnixPlatformManualResetEvent.h:44
void Wait()
Definition UnixPlatformManualResetEvent.h:31
FUnixManualResetEvent()=default
Definition AndroidPlatformManualResetEvent.cpp:14
Definition MonotonicTime.h:74
Definition MonotonicTime.h:20