FThreadsafeQueue

The base class of threadsafe reference counted objects.

Choose your operating system:

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
)