UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LockFreeLinkAllocator_TLSCache Class Reference
+ Inheritance diagram for LockFreeLinkAllocator_TLSCache:

Public Member Functions

 LockFreeLinkAllocator_TLSCache ()
 
 ~LockFreeLinkAllocator_TLSCache ()
 
TLinkPtr Pop ()
 
void Push (TLinkPtr Item)
 

Additional Inherited Members

- Protected Member Functions inherited from FNoncopyable
 FNoncopyable ()
 
 ~FNoncopyable ()
 

Constructor & Destructor Documentation

◆ LockFreeLinkAllocator_TLSCache()

LockFreeLinkAllocator_TLSCache::LockFreeLinkAllocator_TLSCache ( )
inline

◆ ~LockFreeLinkAllocator_TLSCache()

LockFreeLinkAllocator_TLSCache::~LockFreeLinkAllocator_TLSCache ( )
inline

Destructor, leaks all of the memory

Member Function Documentation

◆ Pop()

TLinkPtr LockFreeLinkAllocator_TLSCache::Pop ( )
inline

Allocates a memory block of size SIZE.

Returns
Pointer to the allocated memory.
See also
Free

◆ Push()

void LockFreeLinkAllocator_TLSCache::Push ( TLinkPtr  Item)
inline

Puts a memory block previously obtained from Allocate() back on the free list for future use.

Parameters
ItemThe item to free.
See also
Allocate

The documentation for this class was generated from the following file: