[#BloombergLP-bdlma-ConcurrentPool-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentPool.adoc[ConcurrentPool]::ConcurrentPool :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlma_concurrentpool.h>` Create a memory pool that returns blocks of the specified size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlma/ConcurrentPool/2constructor-03.adoc[ConcurrentPool]( xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] blockSize, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlma/ConcurrentPool/2constructor-03.adoc[_» more..._]# Create a memory pool with the specified growth strategy. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlma/ConcurrentPool/2constructor-09.adoc[ConcurrentPool]( xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] blockSize, xref:BloombergLP/bsls/BlockGrowth/Strategy.adoc[bsls::BlockGrowth::Strategy] growthStrategy, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlma/ConcurrentPool/2constructor-09.adoc[_» more..._]# Create a memory pool with the specified growth strategy and maximum chunk size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlma/ConcurrentPool/2constructor-08.adoc[ConcurrentPool]( xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] blockSize, xref:BloombergLP/bsls/BlockGrowth/Strategy.adoc[bsls::BlockGrowth::Strategy] growthStrategy, int maxBlocksPerChunk, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlma/ConcurrentPool/2constructor-08.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *blockSize* | size in bytes of each allocated memory block | *basicAllocator* | memory allocator; null uses the default | *growthStrategy* | strategy controlling growth of internal chunks | *maxBlocksPerChunk* | maximum number of blocks per allocated chunk |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#