lipthread and TLS
    Daniel Eischen 
    deischen at freebsd.org
       
    Thu Mar 22 18:14:34 UTC 2007
    
    
  
On Thu, 22 Mar 2007, Jason Evans wrote:
> Daniel Eischen wrote:
>> The toolchain itself should support TLS, so that's probably
>> the place to look, as well as src/libexec/rtld-elf/.  The
>> libpthread library does not use TLS itself, and I don't
>> think anything (yet) uses TLS in libc or in our base system,
>> though I could be wrong.
>
> malloc uses TLS.
Well, I stand corrected then.  If you need to get MIPS up
and running without TLS, you may need to hack malloc()
and anything else that uses TLS to temporarily use
pthread_[gs]etspecific()...
-- 
DE
    
    
More information about the freebsd-threads
mailing list