[#BloombergLP-bdlmt-MultipriorityThreadPool-numActiveThreads] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultipriorityThreadPool.adoc[MultipriorityThreadPool]::numActiveThreads :relfileprefix: ../../../ :mrdocs: Return a snapshot of the number of threads that are actively processing jobs for this multi‐priority thread pool. Note that `0 <= numActiveThreads() <= numThreads()` is an invariant of this class. == Synopsis Declared in `<bdlmt_multiprioritythreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numActiveThreads() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#