Поделиться через


copyin

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.

См. также

Основные понятия

OpenMP Clauses