Block until this semaphore can be acquired or absTime expires.
Synopses
Declared in <bslmt_fastpostsemaphore.h>
Block until this semaphore can be acquired or absTime expires.
int
timedWait(bsls::TimeInterval const& absTime);
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);
Return Value
0 on success, e_DISABLED if disabled, e_TIMED_OUT on timeout, or e_FAILED on error
Parameters
Name |
Description |
absTime |
absolute timeout from the construction clock epoch |
Created with MrDocs