OpenMP-Examples/Examples_copyin.tex
2015-01-13 11:38:24 -08:00

14 lines
351 B
TeX

\pagebreak
\chapter{The \code{copyin} Clause}
\label{chap:copyin}
The \code{copyin} clause is used to initialize threadprivate data upon entry
to a \code{parallel} region. The value of the threadprivate variable in the master
thread is copied to the threadprivate variable of each other team member.
\cexample{copyin}{1c}
\fexample{copyin}{1f}