9#ifndef INCLUDED_BSLMT_TURNSTILE
10#define INCLUDED_BSLMT_TURNSTILE
148#include <bslscm_version.h>
191 int d_minTimeToCallSleep;
Definition bslmt_turnstile.h:180
Turnstile(double rate, const bsls::TimeInterval &startTime=bsls::TimeInterval(0), const bsls::TimeInterval &minTimeToCallSleep=bsls::TimeInterval(1e-4))
void reset(double rate, const bsls::TimeInterval &startTime=bsls::TimeInterval(0), const bsls::TimeInterval &minTimeToCallSleep=bsls::TimeInterval(1e-4))
~Turnstile()=default
Destroy this object.
bsls::Types::Int64 lagTime() const
bsls::Types::Int64 waitTurn(bool sleep=true)
Definition bsls_atomic.h:892
Definition bsls_timeinterval.h:301
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bslmt_barrier.h:344
long long Int64
Definition bsls_types.h:132