| OPENMP API Specification: Version 5.0 November 2018

2.17  Synchronization Constructs and Clauses

A synchronization construct orders the completion of code executed by different threads. This ordering is imposed by synchronizing flush operations that are executed as part of the region that corresponds to the construct.

Synchronization through the use of synchronizing flush operations and atomic operations is described in Section 1.4.4 on page 59 and Section 1.4.6 on page 71. Section on page 684 defines the behavior of synchronizing flush operations that are implied at various other locations in an OpenMP program.

  2.17.1  critical Construct
  2.17.2  barrier Construct
  2.17.3  Implicit Barriers
  2.17.4  Implementation-Specific Barriers
  2.17.5  taskwait Construct
  2.17.6  taskgroup Construct
  2.17.7  atomic Construct
  2.17.8  flush Construct  Implicit Flushes
  2.17.9  ordered Construct
  2.17.10  Depend Objects  depobj Construct
  2.17.11  depend Clause
  2.17.12  Synchronization Hints