FLockFreeLinkPolicy

There is a version of this code that uses 128 bit atomics to avoid the indirection, that is why we have this policy class at all.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/LockFreeList.h

Include

#include "Containers/LockFreeList.h"

Syntax

struct FLockFreeLinkPolicy

Remarks

There is a version of this code that uses 128 bit atomics to avoid the indirection, that is why we have this policy class at all.

Functions

Name Description

Public function Static

uint32

 

AllocLockFreeLink()

Public function Static

FIndexedLock...

 

DerefLink

(
    uint32 Ptr
)

Public function Static

void

 

FreeLockFreeLink

(
    uint32 Item
)

Public function Static

FIndexedLock...

 

IndexToLink

(
    uint32 Index
)

Public function Static

uint32

 

IndexToPtr

(
    uint32 Index
)

Typedefs

Name

Description

TAllocator

TDoublePtr

TLink

TLinkPtr

Constants

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