http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47762
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-18 12:57:15 UTC --- (In reply to comment #16) > by the way, (not the bug), I'm wondering if there is another way than > using pthread_key_create to hold the thread's freelist ? like using TLS in the > mt_allocator ? Probably, but TLS isn't supported everywhere so it might need to be a separate tls_allocator that's only conditionally available.