FRunnableThread::SetThreadPriority

Changes the thread priority of the currently running thread

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FRunnableThread::SetThreadPriority()

FRunnableThreadUnix::SetThreadPriority()

References

Module

Core

Header

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

Include

#include "HAL/RunnableThread.h"

Syntax

void SetThreadPriority
(
    EThreadPriority NewPriority
)

Remarks

Changes the thread priority of the currently running thread

Parameters

Parameter

Description

NewPriority

The thread priority to change to