![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Namespaces | |
| namespace | Private |
Classes | |
| struct | FWaitState |
| struct | FWakeState |
Functions | |
| FWaitState | Wait (const void *Address, TFunctionWithContext< bool()> CanWait, TFunctionWithContext< void()> BeforeWait) |
| FWaitState | WaitFor (const void *Address, TFunctionWithContext< bool()> CanWait, TFunctionWithContext< void()> BeforeWait, FMonotonicTimeSpan WaitTime) |
| FWaitState | WaitUntil (const void *Address, TFunctionWithContext< bool()> CanWait, TFunctionWithContext< void()> BeforeWait, FMonotonicTimePoint WaitTime) |
| void | WakeOne (const void *Address, TFunctionWithContext< uint64(FWakeState)> OnWakeState) |
ParkingLot is a global table of queues of waiting threads keyed by memory address.
|
inline |
Queue the calling thread to wait if CanWait returns true. BeforeWait is only called if CanWait returns true.
| Address | Address to use as the key for the queue. The same address is used to wake the thread. |
| CanWait | Function called while the queue is locked. A return of false cancels the wait. |
| BeforeWait | Function called after the queue is unlocked and before the thread waits. |
|
inline |
Queue the calling thread to wait if CanWait returns true. BeforeWait is only called if CanWait returns true.
| Address | Address to use as the key for the queue. The same address is used to wake the thread. |
| CanWait | Function called while the queue is locked. A return of false cancels the wait. |
| BeforeWait | Function called after the queue is unlocked and before the thread waits. |
| WaitTime | Relative time after which waiting is automatically canceled and the thread wakes. |
|
inline |
Queue the calling thread to wait if CanWait returns true. BeforeWait is only called if CanWait returns true.
| Address | Address to use as the key for the queue. The same address is used to wake the thread. |
| CanWait | Function called while the queue is locked. A return of false cancels the wait. |
| BeforeWait | Function called after the queue is unlocked and before the thread waits. |
| WaitTime | Absolute time after which waiting is automatically canceled and the thread wakes. |
|
inline |
Wake one thread from the queue of threads waiting on the address.
| Address | Address to use as the key for the queue. Must match the address used in Wait. |
| OnWakeState | Function called while the queue is locked. Receives the wake state. Returns WakeToken. |