Constructors
Synopses
Declared in <absl/synchronization/barrier.h>
Deleted copy constructor; Barrier is not copyable.
Constructs a barrier for a fixed number of participating threads.
explicit
Barrier(int num_threads);
Parameters
Name |
Description |
num_threads |
The number of threads that will participate in the barrier. |
Created with MrDocs