Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FQueuedThreadPoolDynamicWrapper
Description
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.
Virtual Inheritance
- FQueuedThreadPool::AddQueuedWork → FQueuedThreadPoolDynamicWrapper::AddQueuedWork
| Name | AddQueuedWork |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h |
| Include Path | #include "Misc/QueuedThreadPoolWrapper.h" |
virtual void AddQueuedWork
(
IQueuedWork * InQueuedWork,
EQueuedWorkPriority InQueuedWorkPriority
)
Parameters
| Name | Remarks |
|---|---|
| InQueuedWork | The work that needs to be done asynchronously |
| InQueuedWorkPriority | The priority at which to process this task |
See Also
- RetractQueuedWork