ThreadType

List of unique thread types we can create

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/RunnableThread.h

Include

#include "HAL/RunnableThread.h"

Syntax

enum ThreadType
{
    Real,
    Fake,
    Forkable,
}

Values

Name

Description

Real

Regular thread that executes the runnable object in it's own context.

Fake

Fake threads are created for a single threaded environment and are always executed from the main tick.

Forkable

Forkable threads will behave like fake threads for the master process, but will become real threads on forked processes.

Remarks

List of unique thread types we can create

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