push_back

ThreadSafeQueue::push_back

Adds an element at the back of the queue.

Declaration

template<typename T>
void push_back(const T& element);

Parameters

Name

Type

Description

element

const T&

The element to add at the back of the queue.

Returns

None.