FThreadSingletonInitializer::TryGet

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 * TryGet
(
    uint32 & TlsSlot
)

Returns

an instance of the singleton if it exists on 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