[Omp] How to declare non-static local variables as private in the dynamic extent of a parallel region?

Open MP ompfan at gmail.com
Sun Apr 3 09:29:10 PDT 2005


Dear all,

It seems to me that the 'threadprivate' clause only applies to
global-lifetime objects(global and static local in C/C++).  Then how
can I declare general local variables as private in the dynamic extent
of a parallel region?

Thanks.

An OpenMP fan




More information about the Omp mailing list