Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPool.h |
| Include | #include "Misc/QueuedThreadPool.h" |
Syntax
class FThreadPoolPriorityQueue
Remarks
Priority Queue tailored for FQueuedThreadPool implementation
This class is NOT thread-safe and must be properly protected.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| IQueuedWork * | Dequeue
(
EQueuedWorkPriority* OutDequeuedWorkPriority |
Get the next work item in priority order. | |
| void | Enqueue
(
IQueuedWork* InQueuedWork, |
Enqueue a work item at specified priority | |
| int32 | Num () |
Get the total number of queued items. | |
| IQueuedWork * | Peek
(
EQueuedWorkPriority* OutDequeuedWorkPriority |
Get the next work item in priority order without actually dequeuing. | |
| void | Reset () |
Empty the queue. | |
| bool | Retract
(
IQueuedWork* InQueuedWork |
Search and remove a queued work item from the list | |
| void | Sort
(
EQueuedWorkPriority InPriorityBucket, |
Sort Priority Bucket given Predicate |