llarp::thread::Queue
More...
Public Functions
Public Attributes
Detailed Description
template <typename Type >
class llarp::thread::Queue;
Public Functions Documentation
function Queue
explicit Queue(
size_t capacity
)
function ~Queue
~Queue()
function Queue
Queue(
const Queue &
) =delete
function operator=
Queue & operator=(
const Queue &
) =delete
function pushBack
QueueReturn pushBack(
const Type & value
)
function pushBack
QueueReturn pushBack(
Type && value
)
function tryPushBack
QueueReturn tryPushBack(
const Type & value
)
function tryPushBack
QueueReturn tryPushBack(
Type && value
)
function popFront
Type popFront()
function popFrontWithTimeout
std::optional< Type > popFrontWithTimeout(
std::chrono::microseconds timeout
)
function tryPopFront
std::optional< Type > tryPopFront()
function removeAll
void removeAll()
function disable
void disable()
function enable
void enable()
function capacity
size_t capacity() const
function size
size_t size() const
function enabled
bool enabled() const
function full
bool full() const
function empty
bool empty() const
Public Attributes Documentation
variable Alignment
static constexpr size_t Alignment = 64;
Updated on 2026-01-10 at 22:49:45 +0000