2024-04-16 08:59:23 -07:00

13 lines
368 B
TeX

\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}