FQueuedThreadPool::AddQueuedWork

Checks to see if there is a thread available to perform the task.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPool.h

Include

#include "Misc/QueuedThreadPool.h"

Syntax

void AddQueuedWork
(
    IQueuedWork * InQueuedWork
)

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

Parameter

Description

InQueuedWork

The work that needs to be done asynchronously

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss