Wait for token to be signaled, or until absTime expires.
Declared in <bslmt_sluice.h>
Wait for token to be signaled, or until absTime expires.
int
timedWait(
void const* token,
bsls::TimeInterval const& absTime);
» more...
Wait for token to be signaled, or until absTime expires.
template<
class CLOCK,
class DURATION>
int
timedWait(
void const* token,
bsl::chrono::time_point<CLOCK, DURATION> const& absTime);
» more...
0 on success, e_TIMED_OUT on timeout, or another value on error
| Name | Description |
|---|---|
| token | wait token previously returned by enter |
| absTime | absolute timeout from the construction clock epoch |