\subsection{\code{omp\_init\_lock} Routine}
\label{subsec:init_lock}

\index{routines!omp_init_lock@\scode{omp_init_lock}}
\index{omp_init_lock routine@\scode{omp_init_lock} routine}
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}

