BloombergLP::bdlma::ConcurrentAllocatorAdapter::ConcurrentAllocatorAdapter

Create a thread-enabled allocator adapter that uses the specified mutex to synchronize access to the specified basicAllocator. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdlma_concurrentallocatoradapter.h>

ConcurrentAllocatorAdapter(
    bslmt::Mutex* mutex,
    bslma::Allocator* basicAllocator);