Append the specified item to the front of this queue. If the high water mark is non‐negative and the number of items in this queue is greater than or equal to the high‐water mark, then block until the number of items in this queue is less than the high‐water mark 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 the number of items in this queue fell below the high‐water mark.
Synopsis
Declared in <bdlcc_queue.h>
int
timedPushFront(
TYPE const& item,
bsls::TimeInterval const& timeout);
Created with MrDocs