![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <QueuedThreadPoolWrapper.h>
Inheritance diagram for FQueuedThreadPoolDynamicWrapper: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 |
Protected Member Functions inherited from FQueuedThreadPoolWrapper | |
| virtual int32 | GetMaxConcurrency () const |
| virtual void | OnScheduled (const IQueuedWork *) |
| virtual void | OnUnscheduled (const IQueuedWork *) |
| virtual FScheduledWork * | AllocateScheduledWork () |
Protected Attributes inherited from FQueuedThreadPoolWrapper | |
| FCriticalSection | Lock |
| FThreadPoolPriorityQueue | QueuedWork |
ThreadPool wrapper implementation allowing to schedule up to MaxConcurrency tasks at a time making sub-partitioning another thread-pool a breeze and allowing more fine-grained control over scheduling by giving full control of task reordering.
|
inline |
InWrappedQueuedThreadPool Underlying thread pool to schedule task to. InMaxConcurrency Maximum number of concurrent tasks allowed, -1 will limit concurrency to number of threads available in the underlying thread pool. 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.
|
inlineoverridevirtual |
Checks to see if there is a thread available to perform the task. If not, it queues the work for later. Otherwise it is immediately dispatched.
| InQueuedWork | The work that needs to be done asynchronously |
| InQueuedWorkPriority | The priority at which to process this task |
Implements FQueuedThreadPool.
|
inline |
Apply sort predicate to reorder the queued tasks