Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FQueuedThreadPool
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.
Derived Overrides
- FQueuedLowLevelThreadPool::AddQueuedWork
- FQueuedThreadPoolDynamicWrapper::AddQueuedWork
- FQueuedThreadPoolTaskGraphWrapper::AddQueuedWork
- FQueuedThreadPoolWrapper::AddQueuedWork
| Name | AddQueuedWork |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPool.h |
| Include Path | #include "Misc/QueuedThreadPool.h" |
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