| OPENMP API Specification: Version 5.0 November 2018

2.13.4  parallel workshare Construct

SummaryThe parallel workshare construct is a shortcut for specifying a parallel construct containing a workshare construct and no other statements.


The syntax of the parallel workshare construct is as follows:  

!$omp parallel workshare [clause[ [,] clause] ... ] 
!$omp end parallel workshare  

where clause can be any of the clauses accepted by the parallel directive, with identical meanings and restrictions. nowait may not be specified on an end parallel workshare directive.

DescriptionThe semantics are identical to explicitly specifying a parallel directive immediately followed by a workshare directive, and an end workshare directive immediately followed by an end parallel directive.

RestrictionsThe restrictions for the parallel construct and the workshare construct apply.

Cross References

SVG-Viewer needed.