[#BloombergLP-bdlma-ConcurrentPoolAllocator-2constructor-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentPoolAllocator.adoc[ConcurrentPoolAllocator]::ConcurrentPoolAllocator
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, with the specified `maxBlocksPerChunk`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ConcurrentPoolAllocator(
    xref:BloombergLP/bdlma/ConcurrentPoolAllocator/size_type.adoc[size&lowbar;type] blockSize,
    xref:BloombergLP/bsls/BlockGrowth/Strategy.adoc[bsls::BlockGrowth::Strategy] growthStrategy,
    int maxBlocksPerChunk,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *blockSize*
| size in bytes of each pooled memory block
| *growthStrategy*
| strategy controlling growth of internal chunks
| *maxBlocksPerChunk*
| maximum blocks allocated when replenishing
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


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