lipthread and TLS

Daniel Eischen deischen at freebsd.org
Thu Mar 22 17:14:47 UTC 2007


On Thu, 22 Mar 2007, Julian Elischer wrote:

> Girish Motwani wrote:
>> Hi,
>>        I am working on freebsd libpthread support for MIPS. Is thread local
>> storage support (TLS) a pre-requisite for this, or the kse implementation
>> can work without TLS ?
>> 
>
> well one shouls support TLS..   does the TLS document give information for 
> MIPS?

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.

-- 
DE


More information about the freebsd-threads mailing list