Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Async.h |
Include |
#include "Async/Async.h" |
enum EAsyncExecution
{
TaskGraph,
TaskGraphMainThread,
Thread,
ThreadIfForkSafe,
ThreadPool,
LargeThreadPool,
}
Name |
Description |
---|---|
TaskGraph |
Execute in Task Graph (for short running tasks). |
TaskGraphMainThread |
Execute in Task Graph on the main thread (for short running tasks). |
Thread |
Execute in separate thread if supported (for long running tasks). |
ThreadIfForkSafe |
Execute in separate thread if supported or supported post fork (see FForkProcessHelper::CreateThreadIfForkSafe) (for long running tasks). |
ThreadPool |
Execute in global queued thread pool. |
LargeThreadPool |
Execute in large global queued thread pool. |
Enumerates available asynchronous execution methods.