Attempt to append the specified value without blocking.
Synopsis
Declared in <bdlcc_singleconsumerqueueimpl.h>
int
tryPushBack(TYPE const& value);
Description
Append the specified value to the back of this queue. Return 0 on success, and a non‐zero value otherwise. Specifically, return e_DISABLED if isPushBackDisabled().
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
value |
value to append |
Created with MrDocs