다음을 통해 공유


copyin

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

copyin(var)

Remarks

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.

Remarks

copyin applies to the following directives:

For more information, see 2.7.2.7 copyin.

Example

See threadprivate for an example of using copyin.

See Also

Reference

OpenMP Clauses