copyin

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Allows threads to access the master thread's value, for a threadprivate variable.

copyin(var)  

where,

var
The threadprivate variable that will be initialized with the value of the variable in the master thread, as it exists before the parallel construct.

copyin applies to the following directives:

For more information, see 2.7.2.7 copyin.

See threadprivate for an example of using copyin.

Clauses

Show: