FThreadsafeQueue

The base class of threadsafe reference counted objects.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Util.h

Include

#include "D3D12Util.h"

Syntax

template<class Type>
struct FThreadsafeQueue

Remarks

The base class of threadsafe reference counted objects.

Functions

Name Description

Public function

bool

 

BatchDequeue

(
    TQueue< Type >* Result,
    const CompareFunc& Func,
    uint32 MaxItems
)

Public function

bool

 

Dequeue

(
    Type& Result
)

Public function

bool

 

Dequeue

(
    Type& Result,
    const CompareFunc& Func
)

Public function

void

 

Empty()

Public function

void

 

Enqueue

(
    const Type& Item
)

Public function Const

const uint32

 

GetSize()

Public function

bool

 

IsEmpty()

Public function

bool

 

Peek

(
    Type& Result
)

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