[#BloombergLP-bdlmt-FixedThreadPool-drain]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/FixedThreadPool.adoc[FixedThreadPool]::drain
:relfileprefix: ../../../
:mrdocs:

Wait until the underlying queue is empty without disabling this pool (and may thus wait indefinitely), and then wait until all executing jobs complete&period; If the thread pool was not already started (`isStarted()` is `false`), this method has no effect&period; Note that if any jobs are submitted concurrently with this method, this method may or may not wait until they have also completed&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;fixedthreadpool&period;h&gt;`

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


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