TQueue::Enqueue

Adds an item to the head of the queue. To be called only from producer thread(s).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Queue.h"

Syntax

bool Enqueue
(
    const ItemType & Item
)

Remarks

Adds an item to the head of the queue.

To be called only from producer thread(s).

Returns

true if the item was added, false otherwise.

Parameters

Parameter

Description

Item

The item to add.

See Also

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