Sleep until the next turn may be taken or return immediately if the optionally specified sleep is false, this turnstile is lagging behind schedule, or if the calculated sleep duration is less than minTimeToCallSleep. Return the non‐negative number of microseconds spent waiting, or if sleep is false, the number of microseconds the function would have had to wait.
Synopsis
Declared in <bslmt_turnstile.h>
bsls::Types::Int64
waitTurn(bool sleep = true);
Created with MrDocs