FRunnableThread::CreateInternal

Creates the thread with the specified stack size and thread priority.

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

bool CreateInternal
(
    FRunnable * InRunnable,
    const TCHAR * InThreadName,
    uint32 InStackSize,
    EThreadPriority InThreadPri,
    uint64 InThreadAffinityMask,
    EThreadCreateFlags InCreateFlags
)

Remarks

Creates the thread with the specified stack size and thread priority.

Returns

True if the thread and all of its initialization was successful, false otherwise

Parameters

Parameter

Description

InRunnable

The runnable object to execute

ThreadName

Name of the thread

InStackSize

The size of the stack to create. 0 means use the current thread's stack size

InThreadPri

Tells the thread whether it needs to adjust its priority or not. Defaults to normal priority