BloombergLP::bdlcc::FixedQueue::tryPushBack

Attempt to append the specified value to the back of this queue without blocking.

Synopsis

Declared in <bdlcc_fixedqueue.h>

int
tryPushBack(TYPE const& value);

Description

Return 0 on success, and a non-zero value if the queue is full or disabled.

Return Value

0 on success, non-zero if full or disabled

Parameters

NameDescription
valuevalue to append