Remove the last item into buffer, waiting until timeout if empty.
Declared in <bdlcc_queue.h>
int
timedPopBack(
TYPE* buffer,
bsls::TimeInterval const& timeout);
Remove the last item in this queue and load that item value into the specified buffer. If this queue is empty, block until an item is available or until the specified timeout (expressed as the ABSOLUTE time from 00:00:00 UTC, January 1, 1970) expires. Return 0 on success, and a non-zero value if the call timed out before an item was available.
0 on success, and a non-zero value if the call timed out
| Name | Description |
|---|---|
| buffer | receives the removed item |
| timeout | absolute time at which to stop waiting |