Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FQueuedThreadPoolWrapper
- FQueuedThreadPool::AddQueuedWork()
- FQueuedThreadPoolWrapper::AddQueuedWork()
- FQueuedThreadPoolDynamicWrapper::AddQueuedWork()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h |
| Include | #include "Misc/QueuedThreadPoolWrapper.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/QueuedThreadPoolWrapper.cpp |
virtual void AddQueuedWork
&40;
IQueuedWork &42; InQueuedWork,
EQueuedWorkPriority InQueuedWorkPriority
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| InQueuedWork | The work that needs to be done asynchronously |
| InQueuedWorkPriority | The priority at which to process this task |