HOME
| OPENMP API Specification: Version 5.1 November 2020

2.19  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 and Section 1.4.6. Section 2.19.8.1 defines the behavior of synchronizing flush operations that are implied at various other locations in an OpenMP program.

  2.19.1  critical Construct
  2.19.2  barrier Construct
  2.19.3  Implicit Barriers
  2.19.4  Implementation-Specific Barriers
  2.19.5  taskwait Construct
  2.19.6  taskgroup Construct
  2.19.7  atomic Construct
  2.19.8  flush Construct
   2.19.8.1  Implicit Flushes
  2.19.9  ordered Construct
  2.19.10  Depend Objects
   2.19.10.1  depobj Construct
  2.19.11  depend Clause
  2.19.12  Synchronization Hints