![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <QueuedThreadPoolWrapper.h>
Inheritance diagram for FQueuedLowLevelThreadPool:Public Member Functions | |
| FQueuedLowLevelThreadPool (TFunction< EQueuedWorkPriority(EQueuedWorkPriority)> InPriorityMapper=DefaultQueuedWorkPriorityWrapper, LowLevelTasks::FScheduler *InScheduler=&LowLevelTasks::FScheduler::Get()) | |
| ~FQueuedLowLevelThreadPool () | |
| void * | operator new (size_t size) |
| void | operator delete (void *ptr) |
| void | Pause () |
| void | Resume (int32 InNumQueuedWork=-1) |
Public Member Functions inherited from FQueuedThreadPool | |
| virtual bool | CreateForkable (uint32 InNumQueuedThreads, uint32 StackSize=(32 *1024), EThreadPriority ThreadPriority=TPri_Normal, const TCHAR *Name=TEXT("UnknownThreadPool")) |
| CORE_API | FQueuedThreadPool () |
| virtual CORE_API | ~FQueuedThreadPool () |
Protected Member Functions | |
| bool | Create (uint32 InNumQueuedThreads, uint32 InStackSize, EThreadPriority InThreadPriority, const TCHAR *InName) override |
| void | Destroy () override |
Additional Inherited Members | |
Static Public Member Functions inherited from FQueuedThreadPool | |
| static CORE_API FQueuedThreadPool * | Allocate () |
Static Public Attributes inherited from FQueuedThreadPool | |
| static CORE_API uint32 | OverrideStackSize = 0 |
ThreadPool wrapper implementation allowing to schedule thread-pool tasks on the the low level backend which is also used by the taskgraph.
|
inline |
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.
|
inline |
|
inlineoverrideprotectedvirtual |
Creates the thread pool with the specified number of threads
| InNumQueuedThreads | Specifies the number of threads to use in the pool |
| StackSize | The size of stack the threads in the pool need (32K default) |
| ThreadPriority | priority of new pool thread |
| Name | optional name for the pool to be used for instrumentation |
Implements FQueuedThreadPool.
|
inlineoverrideprotectedvirtual |
Tells the pool to clean up all background threads
Implements FQueuedThreadPool.
|
inline |
Queued task are not scheduled against the wrapped thread-pool until resumed
Resume a specified amount of queued work, or -1 to unpause.