[#BloombergLP-bslmt-Barrier-numThreads] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Barrier.adoc[Barrier]::numThreads :relfileprefix: ../../../ :mrdocs: Return the required number of arrivals before all waiting threads will unblock. == Synopsis Declared in `<bslmt_barrier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numThreads() const; ---- == Description DEPRECATED: Use `numArrivals` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#