8#ifndef INCLUDED_BSLMT_LATCH
9#define INCLUDED_BSLMT_LATCH
321#include <bslscm_version.h>
331#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
334#include <bsl_chrono.h>
382 explicit Latch(
int count,
386#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
394 Latch(
int count,
const bsl::chrono::system_clock&);
403 Latch(
int count,
const bsl::chrono::steady_clock&);
453#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
462 template <
class CLOCK,
class DURATION>
463 int timedWait(
const bsl::chrono::time_point<CLOCK, DURATION>& absTime);
510#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
512Latch::Latch(
int count,
const bsl::chrono::system_clock&)
514, d_cond(
bsls::SystemClockType::e_REALTIME)
521Latch::Latch(
int count,
const bsl::chrono::steady_clock&)
523, d_cond(
bsls::SystemClockType::e_MONOTONIC)
530template <
class CLOCK,
class DURATION>
Definition bslmt_condition.h:220
@ e_TIMED_OUT
Definition bslmt_condition.h:234
bsls::SystemClockType::Enum clockType() const
Return the clock type used for timeouts.
Definition bslmt_condition.h:432
Definition bslmt_latch.h:349
void countDown(int numEvents)
@ e_TIMED_OUT
Definition bslmt_latch.h:370
bsls::SystemClockType::Enum clockType() const
Return the clock type used for timeouts.
Definition bslmt_latch.h:540
int timedWait(const bsls::TimeInterval &absTime)
Definition bslmt_mutex.h:315
Definition bsls_atomic.h:743
Definition bsls_timeinterval.h:301
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1762
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bslmt_barrier.h:344
Definition bdlt_iso8601util.h:691
static int timedWait(PRIMITIVE *primitive, const bsl::chrono::time_point< CLOCK, DURATION > &absTime)
Definition bslmt_chronoutil.h:345
Enum
Definition bsls_systemclocktype.h:117
@ e_REALTIME
Definition bsls_systemclocktype.h:120