[#BloombergLP-bdlcc-SingleProducerQueueImpl-removeAll]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SingleProducerQueueImpl.adoc[SingleProducerQueueImpl]::removeAll
:relfileprefix: ../../../
:mrdocs:

Remove all items currently in this queue&period; Note that this operation is not atomic&semi; if other threads are concurrently pushing items into the queue the result of `numElements()` after this function returns is not guaranteed to be 0&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
removeAll();
----


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