Create a thread-aware queue.
Declared in <bdlcc_singleproducerqueue.h>
explicit
SingleProducerQueue(bslma::Allocator* basicAllocator = 0);
Create a thread-aware queue. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |