TClosableLockFreePointerListUnorderedSingleConsumer::PushIfNotClosed

Push an item onto the head of the list, unless the list is closed

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/LockFreeList.h"

Syntax

bool PushIfNotClosed
(
    T * NewItem
)

Remarks

Push an item onto the head of the list, unless the list is closed

Returns

true if the item was pushed on the list, false if the list was closed.

Parameters

Parameter

Description

NewItem, the

new item to push on the list, cannot be NULL