FThreadSingletonInitializer::Get

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "HAL/ThreadSingleton.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp

Syntax

static FTlsAutoCleanup * Get
(
    TFunctionRef< FTlsAutoCleanup *()> CreateInstance,
    uint32 & TlsSlot
)

Returns

an instance of a singleton for the current thread.

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