Constructors
Declared in <absl/synchronization/barrier.h>
Deleted copy constructor; Barrier is not copyable.
Barrier(Barrier const& other) = delete;
» more...
Constructs a barrier for a fixed number of participating threads.
explicit
Barrier(int num_threads);
» more...
| Name | Description |
|---|---|
| num_threads | The number of threads that will participate in the barrier. |