Threadprivate performance problem :::Gfortran on Windows (mingw32) with OpenMP

Janne Blomqvist Janne.Blomqvist@tkk.fi
Sun Nov 12 12:27:00 GMT 2006


Henry Kar Ming Chan wrote:
> Hi,all,
>
> I just note that there is an article titled
> "Techniques Supporting threadprivate in OpenMP" (web
> page :
> personals.ac.upc.edu/aduran/papers/2006/tls_hips06.pdf)
>
> It is an interesting article about solving the
> performance problems of 'threadprivate'.
>   

The OpenMP implementation in GCC already uses TLS for thread private 
variables on platforms where TLS is available. IIRC mingw32 doesn't 
support TLS.

--
Janne



More information about the Fortran mailing list