This is the mail archive of the
mailing list for the GCC project.
Re: emulating tls for systems without
Paolo Carlini <email@example.com> writes:
> Eric Christopher wrote:
> > Daniel Jacobowitz wrote:
> >> On Wed, Oct 04, 2006 at 02:12:12PM -0700, Richard Henderson wrote:
> >>> Having finally worked out the tcl bits, and a couple of non-regressions
> >>> that showed up during a merge, I've committed the following.
> >> This is great stuff and I may have a use for it... but was it really
> >> necessary to commit during Stage 3, when we seem to be having a
> >> remarkable amount of trouble getting the next release together?
> >> I can't see any conceivable interpretation of this as a regression.
> > Maybe not, but it does have a huge use. It means that all platforms
> > can use the thread keyword without needing to have tls on the
> > platform.
> About this, I would be curious to know whether this enhancement
> benefits libstdc++/24025, which, if I remember correctly, only affects
> systems not defining _GLIBCXX_HAVE_TLS...
It might make it worse. The thread emulation code abort()s when it
runs out of memory.