BloombergLP::bdlcc::SingleProducerQueueImpl::SingleProducerQueueImpl

Create a thread-aware queue.

Synopsis

Declared in <bdlcc_singleproducerqueueimpl.h>

explicit
SingleProducerQueueImpl(bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default