[#BloombergLP-bdlcc-SingleProducerQueueImpl-2constructor-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SingleProducerQueueImpl.adoc[SingleProducerQueueImpl]::SingleProducerQueueImpl
:relfileprefix: ../../../
:mrdocs:

Create a thread&hyphen;aware queue&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;singleproducerqueueimpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
SingleProducerQueueImpl(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
