This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Thread-, Signal- and Cancellation-safety documentation
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Rich Felker <dalias at aerifal dot cx>
- Cc: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Sun, 19 May 2013 03:16:49 -0300
- Subject: Re: Thread-, Signal- and Cancellation-safety documentation
- References: <orppym7okv dot fsf at livre dot home> <20130326072338 dot GA7548 at domone dot kolej dot mff dot cuni dot cz> <or38tlmycx dot fsf at livre dot home> <20130517163241 dot GB20323 at brightrain dot aerifal dot cx>
On May 17, 2013, Rich Felker <dalias@aerifal.cx> wrote:
> On Fri, May 17, 2013 at 12:15:26PM -0300, Alexandre Oliva wrote:
>> > Could we document it is always thread local or are incompatible
>> > implementations in the wild?
>>
>> The only incompatible implementation I'm aware of is the ppc-nofpu
>> emulation.
> This should be easily fixable by adding __thread to the global
> variables it's using.
Yeah... if there weren't any worries about not breaking ABIs ;-)
See bug 15483 for some more viable alternatives.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer