[#absl-Barrier-2constructor-0bb] = xref:absl.adoc[absl]::xref:absl/Barrier.adoc[Barrier]::Barrier :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<absl/synchronization/barrier.h>` Deleted copy constructor; `Barrier` is not copyable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Barrier/2constructor-0f.adoc[Barrier](xref:absl/Barrier.adoc[Barrier] const& other) = delete; ---- [.small]#xref:absl/Barrier/2constructor-0f.adoc[_» more..._]# Constructs a barrier for a fixed number of participating threads. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:absl/Barrier/2constructor-0b9.adoc[Barrier](int num_threads); ---- [.small]#xref:absl/Barrier/2constructor-0b9.adoc[_» more..._]# == 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]#