This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emulating tls for systems without


Paolo Carlini <pcarlini@suse.de> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]