FGenericPlatformProcess::SetThreadAffinityMask

Change the thread processor affinity

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static void SetThreadAffinityMask
(
    uint64 AffinityMask
)

Remarks

Change the thread processor affinity

Parameters

Parameter

Description

AffinityMask

A bitfield indicating what processors the thread is allowed to run on.

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