TQueue::Dequeue

Removes and returns the item from the tail of the queue. To be called only from consumer thread.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Queue.h"

Syntax

bool Dequeue
(
    ItemType & OutItem
)

Remarks

Removes and returns the item from the tail of the queue.

To be called only from consumer thread.

Returns

true if a value was returned, false if the queue was empty.

Parameters

Parameter

Description

OutValue

Will hold the returned value.

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