This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: installing the <atomic.h> header?


On Thu, Nov 4, 2010 at 4:37 PM, Ulrich Drepper <drepper@gmail.com> wrote:
> On Thu, Nov 4, 2010 at 15:25, Chris Metcalf <cmetcalf@tilera.com> wrote:
>> Glibc uses <atomic.h> (with <bits/atomic.h>) internally but does not
>> install it.
>
> And this won't change. ?There are no supportable interfaces and I have
> no interest in supporting people using the header and complaining that
> somehow their code doesn't work. ?It's far too risky to let everyone
> use this code.
>

I agree with Ulrich.

Is there any reason your users can't use the atomic builtins provided
by GCC (http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc/Atomic-Builtins.html#Atomic-Builtins)?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]