BloombergLP::bdlma::ConcurrentFixedPool::setBackoffLevel

Configure this pool with the specified non-negative backoffLevel that controls the amount of spinning that occurs when calls to this pool encounter contention. Setting backoffLevel to 0 disables spinning. Greater values of backoffLevel correspond to greater amounts of spinning. The behavior is undefined unless 0 <= backoffLevel. Note that both contention detection and spinning strategy are implementation defined.

Synopsis

Declared in <bdlma_concurrentfixedpool.h>

void
setBackoffLevel(int backoffLevel);