mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-10 16:32:11 +01:00
11 lines
260 B
TeX
11 lines
260 B
TeX
\subsection{The \code{omp\_init\_lock} Routine}
|
|
\label{subsec:init_lock}
|
|
|
|
The following example demonstrates how to initialize an array of locks in a \code{parallel}
|
|
region by using \code{omp\_init\_lock}.
|
|
|
|
\cppexample{init_lock}{1}
|
|
|
|
\fexample{init_lock}{1}
|
|
|