BloombergLP::bdlma::ConcurrentPool::ConcurrentPool

Create a memory pool with the specified growth strategy.

Synopsis

Declared in <bdlma_concurrentpool.h>

ConcurrentPool(
    bsls::Types::size_type blockSize,
    bsls::BlockGrowth::Strategy growthStrategy,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
blockSizesize in bytes of each allocated memory block
growthStrategystrategy controlling growth of internal chunks
basicAllocatormemory allocator; null uses the default