Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FSingleThreadEvent
Description
Waits the specified amount of time for the event to be triggered.
A wait time of MAX_uint32 is treated as infinite wait.
Virtual Inheritance
- FEvent::Wait → FSingleThreadEvent::Wait
| Name | Wait |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/SingleThreadEvent.h |
| Include Path | #include "Misc/SingleThreadEvent.h" |
virtual bool Wait
(
uint32 WaitTime,
const bool bIgnoreThreadIdleStats
)
true if the event was triggered, false if the wait timed out.
Parameters
| Name | Remarks |
|---|---|
| WaitTime | The time to wait (in milliseconds). |
| bIgnoreThreadIdleStats | If true, ignores ThreadIdleStats |