Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/Fundamental
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Fundamental/WaitingQueue.h |
| Include | #include "Async/Fundamental/WaitingQueue.h" |
Syntax
class FWaitingQueue
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWaitingQueue
(
TAlignedArray< FWaitEvent >& InNodesArray, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CancelWait
(
FWaitEvent* Node |
Step to run by normal workers if they detect new work after they called prepare wait. | |
| bool | CommitStandby
(
FWaitEvent* Node, |
Second step to execute when no more work is found in the queues. | |
| bool | CommitWait
(
FWaitEvent* Node, |
Second step run by normal workers when no more work is found in the queues. | |
| void | ConditionalStandby
(
FWaitEvent* Node |
Immediately goes to sleep if oversubscription period is finished and we're over the allowed thread count. | |
| void | Decrement oversubscription only, any active threads will finish their current task and will go to sleep if conditional standby determines we're now over the active thread count. | ||
| void | |||
| void | Increment oversubscription and notify a thread if we're under the allowed thread count. | ||
| void | |||
| bool | Is the current waiting queue out of workers. | ||
| int32 | Try to wake up the amount of workers passed in the parameters. | ||
| void | PrepareStandby
(
FWaitEvent* Node |
First step to execute when no more work is found in the queues. | |
| void | PrepareWait
(
FWaitEvent* Node |
First step run by normal workers when no more work is found in the queues. | |
| void |