Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- FQueuedThreadPool
- FQueuedLowLevelThreadPool
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h |
| Include | #include "Misc/QueuedThreadPoolWrapper.h" |
Syntax
class FQueuedLowLevelThreadPool : public FQueuedThreadPool
Remarks
ThreadPool wrapper implementation allowing to schedule thread-pool tasks on the the low level backend which is also used by the taskgraph.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FQueuedLowLevelThreadPool
(
TFunction< EQueuedWorkPriority(EQueuedWorkPriority)> InPriorityMapper, |
InPriorityMapper Thread-safe function used to map any priority from this Queue to the priority that should be used when scheduling the task on the underlying thread pool. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Pause () |
Queued task are not scheduled against the wrapped thread-pool until resumed | |
| void | Resume
(
int32 InNumQueuedWork |
Resume a specified amount of queued work, or -1 to unpause. |
Overridden from FQueuedThreadPool
| Type | Name | Description | |
|---|---|---|---|
| bool | Create
(
uint32 InNumQueuedThreads, |
Creates the thread pool with the specified number of threads | |
| void | Destroy () |
Tells the pool to clean up all background threads |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* ptr |
||
| void * | operator new
(
size_t size |