On Fri, Nov 02, 2007 at 07:39:33AM -0700, Ian Lance Taylor wrote: > The only way I can interpret your comments is that you are assuming > that all TLS is Global Dynamic (e.g., accessed from a dlopen'ed shared > library). But stack based thread local storage won't work for > dlopen'ed shared libraries at all.
Actually, from context I assume he's talking about pthread_setspecific and does not know about __thread. -- Daniel Jacobowitz CodeSourcery