[#BloombergLP-bslmt-Barrier-wait] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Barrier.adoc[Barrier]::wait :relfileprefix: ../../../ :mrdocs: Arrive and block until the required number of arrivals have occurred. Then _signal_ all the threads that are currently waiting on this barrier to unblock and reset the state of this barrier to its initial state. Note that generally `wait` and `timedWait` should not be used together, for reasons explained in the documentation of `timedWait`. == Synopsis Declared in `<bslmt_barrier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void wait(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#