[#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. If the thread pool was not already started (`isStarted()` is `false`), this method has no effect. Note that if any jobs are submitted concurrently with this method, this method may or may not wait until they have also completed. == Synopsis Declared in `<bdlmt_fixedthreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void drain(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#