TListThreadSafe

Thread-safe single-linked list (lock-free).

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/DebugDrawQueue.h

Include

#include "Chaos/DebugDrawQueue.h"

Syntax

template<typename ElementType>
class TListThreadSafe

Remarks

Thread-safe single-linked list (lock-free). (Taken from Light Mass, should probably just move into core)

Constructors

Name Description

Public function

TListThreadSafe()

Initialization constructor.

Functions

Name Description

Public function

void

 

AddElement

(
    TList< ElementType >* Element
)

Adds an element to the list.

Public function

void

 

Clear()

Clears the list.

Public function

TList< Eleme...

 

ExtractAll()

Clears the list and returns the elements.

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