mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-04 05:41:33 +01:00
16 lines
539 B
TeX
16 lines
539 B
TeX
\pagebreak
|
|
\section{\kcode{parallel sections} Construct}
|
|
\label{sec:psections}
|
|
\index{combined constructs!parallel sections@\kcode{parallel sections}}
|
|
\index{parallel sections construct@\kcode{parallel sections} construct}
|
|
|
|
In the following example routines \ucode{XAXIS}, \ucode{YAXIS}, and \ucode{ZAXIS} can
|
|
be executed concurrently. The first \kcode{section} directive is optional. Note
|
|
that all \kcode{section} directives need to appear in the
|
|
\kcode{parallel sections} construct.
|
|
|
|
\cexample{psections}{1}
|
|
|
|
\fexample{psections}{1}
|
|
|