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

Disable dequeueing from this queue&period;

== Synopsis

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

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

== Description

All subsequent invocations of `popFront` or `tryPopFront` will fail immediately&period; All blocked invocations of `popFront` and `waitUntilEmpty` will fail immediately&period; If the queue is already dequeue disabled, this method has no effect&period;


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