FIRSTPRIVATE (TU*X only)

Parallel Directive Clause: Provides a superset of the functionality provided by the PRIVATE clause; objects are declared PRIVATE and they are initialized with certain values.

Syntax

FIRSTPRIVATE (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 (/ /).

Variables that appear in a FIRSTPRIVATE list are subject to PRIVATE clause semantics. In addition, private (local) copies of each variable in the different threads are initialized to the value the variable had before the parallel region started.