BloombergLP::bslmt::Barrier::timedWait

Arrive and block until the required arrivals occur or absTime expires.

Synopses

Declared in <bslmt_barrier.h>

Arrive and block until the required arrivals occur or absTime expires.

int
timedWait(bsls::TimeInterval const& absTime);
» more...

Arrive and block until the required arrivals occur or absTime expires.

template<
    class CLOCK,
    class DURATION>
int
timedWait(bsl::chrono::time_point<CLOCK, DURATION> const& absTime);
» more...

Return Value

0 on success, e_TIMED_OUT on timeout, or another value on error

Parameters

NameDescription
absTimeabsolute timeout from the construction clock epoch