barrier Directive
Specifies an explicit barrier at the point where the directive appears. All threads in the team executing the parallel region must execute the barrier region before any threads continue to execute code beyond the barrier.
Binding thread set: current team
Format
#pragma omp barrier newline