9.5. Work-sharing constructs
A work-sharing construct distributes the execution of the associated statement among the members of the team that encounter it. The work-sharing directives do not launch new threads, and there is no implied barrier on entry to a work-sharing construct.
OpenMP defines the three work-sharing constructs, for, sections, and single, explained in the following sections:
Section 9.5.1, “for construct” on page 341
Section 9.5.2, “sections construct” on page 344
Section 9.5.3, “single construct” on page 345
A work-sharing construct must be enclosed dynamically within a parallel region in order for the directive to execute in parallel. They must be executed by all members of a team or none at all. Successive work-sharing constructs ...