15.2.2.1 COPYIN Clause (TU*X only)

The COPYIN clause specifies that the data in the master thread of the team is to be copied to the thread private copies of the common block at the beginning of the parallel region. It takes the following form:

COPYIN (list)

list
Is the name of one or more variables or common blocks that are accessible to the scoping unit. Subobjects cannot be specified. Each name must be separated by a comma, and a named common block must appear between slashes (/ /).

The COPYIN clause applies only to common blocks declared as THREADPRIVATE (or TASKCOMMON).

You do not need to specify the whole THREADPRIVATE (or TASKCOMMON) common block, you can specify named variables within the common block.


Previous Page Next Page Table of Contents