8#ifndef INCLUDED_BSLMT_BARRIER
9#define INCLUDED_BSLMT_BARRIER
327#include <bslscm_version.h>
337#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
340#include <bsl_chrono.h>
362 const int d_numArrivals;
399#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
448#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
466 template <
class CLOCK,
class DURATION>
467 int timedWait(
const bsl::chrono::time_point<CLOCK, DURATION>& absTime);
505, d_numArrivals(numArrivals)
514#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
516Barrier::Barrier(
int numArrivals,
const bsl::chrono::system_clock&)
518, d_cond(
bsls::SystemClockType::e_REALTIME)
519, d_numArrivals(numArrivals)
529Barrier::Barrier(
int numArrivals,
const bsl::chrono::steady_clock&)
531, d_cond(
bsls::SystemClockType::e_MONOTONIC)
532, d_numArrivals(numArrivals)
542template <
class CLOCK,
class DURATION>
560 return d_numArrivals;
567 return d_numArrivals;
Definition bslmt_barrier.h:353
int timedWait(const bsls::TimeInterval &absTime)
int numArrivals() const
Definition bslmt_barrier.h:558
@ e_TIMED_OUT
Definition bslmt_barrier.h:384
int numThreads() const
Definition bslmt_barrier.h:565
bsls::SystemClockType::Enum clockType() const
Return the clock type used for timeouts.
Definition bslmt_barrier.h:552
Definition bslmt_condition.h:220
bsls::SystemClockType::Enum clockType() const
Return the clock type used for timeouts.
Definition bslmt_condition.h:432
Definition bslmt_mutex.h:315
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