mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-04 05:41:33 +01:00
12 lines
266 B
TeX
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}
|
|
|