BloombergLP::bdlcc::SingleConsumerQueueImpl::SingleConsumerQueueImpl

Constructors

Synopses

Declared in <bdlcc_singleconsumerqueueimpl.h>

Create a thread-aware queue.

explicit
SingleConsumerQueueImpl(bslma::Allocator* basicAllocator = 0);
» more...

Create a thread-aware queue with at least the specified capacity.

explicit
SingleConsumerQueueImpl(
    std::size_t capacity,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatorallocator used to supply memory
capacityminimum initial capacity of the queue