TLockFreePointerListFIFO

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FNoncopyable

FLockFreePointerFIFOBase

TLockFreePointerListFIFO

References

Module

Core

Header

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

Include

#include "Containers/LockFreeList.h"

Syntax

template<class T, int TPaddingForCacheContention>
class TLockFreePointerListFIFO : private FLockFreePointerFIFOBase< T, TPaddingForCacheContention >

Functions

Name Description

Public function Const

bool

 

IsEmpty()

Check if the list is empty.

Public function

T *

 

Pop()

Pop an item from the list or return NULL if the list is empty.

Public function

void

 

PopAll

(
    TArray< T* >& Output
)

Pop all items from the list.

Public function

void

 

Push

(
    T* NewItem
)

Push an item onto the head of the list.