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

12 lines
266 B
TeX

\pagebreak
\chapter{The \code{omp\_init\_lock} Routine}
\label{chap:init_lock}
The following example demonstrates how to initialize an array of locks in a \code{parallel}
region by using \code{omp\_init\_lock}.
\cexample{init_lock}{1c}
\fexample{init_lock}{1f}