| OPENMP API Specification: "Version 5.2 -- GIT rev 95b2e3a44"

11  Work-Distribution Constructs

A work-distribution construct distributes the execution of the corresponding region among the threads in its binding thread set. Threads execute portions of the region in the context of the implicit tasks that each one is executing.

A work-distribution construct is worksharing if the binding thread set is a thread team. A worksharing region has no barrier on entry; however, an implied barrier exists at the end of the worksharing region, unless a nowait clause is specified. If a nowait clause is present, an implementation may omit the barrier at the end of the worksharing region. In this case, threads that finish early may proceed straight to the instructions that follow the worksharing region without waiting for the other members of the team to finish the worksharing region, and without performing a flush operation.


The following restrictions apply to work-distribution constructs:

  11.5.1  for Construct
  11.5.2  do Construct
  11.5.3  schedule Clause
 11.6  distribute Construct
  11.6.1  dist_schedule Clause
 11.7  loop Construct
  11.7.1  bind Clause