Remove the first item in this container and load that item value into the specified *item. If this container 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. Note that this method can block indefinitely if another thread has the mutex locked, particularly by a proctor object ‐‐ there is no guarantee that this method will return after timeout.
Synopsis
Declared in <bdlcc_deque.h>
int
timedPopFront(
TYPE* item,
bsls::TimeInterval const& timeout);
Created with MrDocs