[cxx-abi-dev] thread_local summary

Tian, Xinmin xinmin.tian at intel.com
Mon Oct 8 15:58:02 UTC 2012


Jason, 

For the Intel compilers, we do have two implementations, the default one 
is -openmp-threadprivate=legacy which supports dynamic initialization
and destruction of OpenMP threadprivate variables. 

Under the -openmp-threadprivate=compat, we do use the __thread mechanism for GCC compatibility. 

I am not on the cxx-abi-dev list. Clark forwarded your question to me.

Xinmin Tian (Intel Corporation) 

> > > > > -----Original Message-----
> > > > > From: cxx-abi-dev-bounces at codesourcery.com [mailto:cxx-abi-dev-
> > > > > bounces at codesourcery.com] On Behalf Of Jason Merrill
> > > > > Sent: Tuesday, October 02, 2012 8:47 AM
> > > > > To: cxx-abi-dev at codesourcery.com
> > > > > Subject: Re: [cxx-abi-dev] thread_local summary
> > > > >
> > > > > I notice that the Intel compiler supports dynamic initialization
> > > > > and destruction of OpenMP threadprivate variables, though this
> > > > > seems to be a completely separate mechanism from __thread,
> unlike
> > > > > GCC.  Is anyone familiar with their implementation?  Do we have
> > > > > anyone from Intel on the list?
> > > > >
> > > > > Jason
> > > > > _______________________________________________
> > > > > cxx-abi-dev mailing list
> > > > > cxx-abi-dev at codesourcery.com
> > > > > http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev


More information about the cxx-abi-dev mailing list