Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FPThreadEvent
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 → FPThreadEvent::Wait
| Name | Wait |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/PThreadEvent.h |
| Include Path | #include "HAL/PThreadEvent.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
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 |