FTlsAutoCleanup

Base class for objects in TLS that support auto-cleanup.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "HAL/TlsAutoCleanup.h"

Syntax

class FTlsAutoCleanup

Remarks

Base class for objects in TLS that support auto-cleanup. Polymorphically deletes registered instances on thread exit.

Destructors

Name Description

Public function Virtual

~FTlsAutoCleanup()

Virtual destructor.

Functions

Name Description

Public function

void

 

Register()

Register this instance to be auto-cleanup.