OpenMP-Examples/Examples_master.tex
2015-01-13 11:38:24 -08:00

14 lines
351 B
TeX

\pagebreak
\chapter{The \code{master} Construct}
\label{chap: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}{1c}
\fexample{master}{1f}