This is the mail archive of the
mailing list for the GCC project.
Re: emulating tls for systems without
Paolo Carlini wrote:
Geoffrey Keating wrote:
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.
Humm, unfortunately I'm missing too many details about the emulation,
sorry about that. Do you mean, it essentially allocates on the heap
behind the scenes, similarly to the current !_GLIBCXX_HAVE_TLS case?
Thanks in advance for any clarification,
In other terms, and more generally, Geoffrey, I would appreciate if
knowledgeable people like you could add something to the audit trail of
24025 about _GLIBCXX_HAVE_TLS vs !_GLIBCXX_HAVE_TLS vs, a novelty,
_GLIBCXX_HAVE_TLS via simulated TLS.