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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback