Block until this semaphore can be acquired or absTime expires.
Declared in <bslmt_timedsemaphore.h>
Block until this semaphore can be acquired or absTime expires.
int
timedWait(bsls::TimeInterval const& absTime);
» more...
Block until this semaphore can be acquired or absTime expires.
template<
class CLOCK,
class DURATION>
int
timedWait(bsl::chrono::time_point<CLOCK, DURATION> const& absTime);
» more...
0 on success, e_TIMED_OUT on timeout, or another value on error
| Name | Description |
|---|---|
| absTime | absolute timeout from the construction clock epoch |