# PARALLEL WORKSHARE

OpenMP* Fortran Compiler Directive: Provides an abbreviated way to specify a parallel region containing a single WORKSHARE directive.

## Syntax

!$OMP PARALLEL WORKSHARE [clause[[,] clause] ... ]

loosely-structured-block

!$OMP END PARALLEL WORKSHARE

-or-

!$OMP PARALLEL WORKSHARE [clause[[,] clause] ... ]

strictly-structured-block

!$OMP END PARALLEL WORKSHARE

clause | Can be any of the clauses accepted by the PARALLEL directive.
loosely-structured-block | Is a structured block (section) of statements or constructs. You cannot branch into or out of the block.
strictly-structured-block | Is a Fortran BLOCK construct. You cannot branch into or out of the BLOCK construct.

Parent topic: O to P

## See Also

OpenMP Fortran Compiler Directives
Syntax Rules for Compiler Directives