Navigation
API > API/Runtime > API/Runtime/Core
ThreadPool wrapper implementation allowing to schedule thread-pool tasks on the task graph.
| Name | FQueuedThreadPoolTaskGraphWrapper |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h |
| Include Path | #include "Misc/QueuedThreadPoolWrapper.h" |
Syntax
class FQueuedThreadPoolTaskGraphWrapper : public FQueuedThreadPool
Inheritance Hierarchy
- FQueuedThreadPool → FQueuedThreadPoolTaskGraphWrapper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FQueuedThreadPoolTaskGraphWrapper
(
TFunction< ENamedThreads::Type(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 task graph. | Misc/QueuedThreadPoolWrapper.h | |
FQueuedThreadPoolTaskGraphWrapper
(
ENamedThreads::Type InDesiredThread |
InDesiredThread The task-graph desired thread and priority. | Misc/QueuedThreadPoolWrapper.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FQueuedThreadPoolTaskGraphWrapper() |
Misc/QueuedThreadPoolWrapper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsExiting | TAtomic< bool > | Misc/QueuedThreadPoolWrapper.h | ||
| Finished | UE::FManualResetEvent | Misc/QueuedThreadPoolWrapper.h | ||
| PriorityMapper | TFunction< ENamedThreads::Type(EQueuedWorkPriority)> | Misc/QueuedThreadPoolWrapper.h | ||
| TaskCount | TAtomic< uint32 > | Misc/QueuedThreadPoolWrapper.h |
Functions
Public
Protected
Overridden from FQueuedThreadPool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Create
(
uint32 InNumQueuedThreads, |
Creates the thread pool with the specified number of threads | Misc/QueuedThreadPoolWrapper.h | |
virtual void Destroy() |
Tells the pool to clean up all background threads | Misc/QueuedThreadPoolWrapper.h |