ThreadType

List of unique thread types we can create

Choose your operating system:

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