[#BloombergLP-bdlma-ConcurrentFixedPool-setBackoffLevel]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentFixedPool.adoc[ConcurrentFixedPool]::setBackoffLevel
:relfileprefix: ../../../
:mrdocs:

Configure the spin backoff level used under contention&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;concurrentfixedpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setBackoffLevel(int backoffLevel);
----

== Description

Configure this pool with the specified non&hyphen;negative `backoffLevel` that controls the amount of spinning that occurs when calls to this pool encounter contention&period; Setting `backoffLevel` to 0 disables spinning&period; Greater values of `backoffLevel` correspond to greater amounts of spinning&period; The behavior is undefined unless `0 &lt;&equals; backoffLevel`&period; Note that both contention detection and spinning strategy are implementation defined&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *backoffLevel*
| non&hyphen;negative spin intensity&semi; 0 disables spinning
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
