[#absl-Barrier-2constructor-0b9] = xref:absl.adoc[absl]::xref:absl/Barrier.adoc[Barrier]::Barrier :relfileprefix: ../../ :mrdocs: Constructs a barrier for a fixed number of participating threads. == Synopsis Declared in `<absl/synchronization/barrier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Barrier(int num_threads); ---- == Parameters [cols="1,4"] |=== | Name| Description | *num_threads* | The number of threads that will participate in the barrier. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#