\subsection{\kcode{omp_init_lock} Routine}
\label{subsec:init_lock}

\index{routines!omp_init_lock@\kcode{omp_init_lock}}
\index{omp_init_lock routine@\kcode{omp_init_lock} routine}
The following example demonstrates how to initialize an array of locks in a \kcode{parallel} 
region by using \kcode{omp_init_lock}.

\cppexample{init_lock}{1}

\fexample{init_lock}{1}

