Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 14:14:33 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Jason Evans <jasone@frebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: lipthread and TLS
Message-ID:  <Pine.GSO.4.64.0703221410310.9927@sea.ntplx.net>
In-Reply-To: <4602C49D.3080109@frebsd.org>
References:  <2779e6080703220210u321522c7l40cf8555cfdc2404@mail.gmail.com> <4602B28C.1020204@elischer.org> <Pine.GSO.4.64.0703221312150.9927@sea.ntplx.net> <4602C49D.3080109@frebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0703221410310.9927>