mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-04 05:41:33 +01:00
14 lines
348 B
TeX
14 lines
348 B
TeX
\pagebreak
|
|
\section{The \code{master} Construct}
|
|
\label{sec:master}
|
|
|
|
The following example demonstrates the master construct . In the example, the master
|
|
keeps track of how many iterations have been executed and prints out a progress
|
|
report. The other threads skip the master region without waiting.
|
|
|
|
\cexample{master}{1}
|
|
|
|
\fexample{master}{1}
|
|
|
|
|