This is the mail archive of the
mailing list for the glibc project.
Re: installing the <atomic.h> header?
On Thu, Nov 4, 2010 at 4:37 PM, Ulrich Drepper <firstname.lastname@example.org> wrote:
> On Thu, Nov 4, 2010 at 15:25, Chris Metcalf <email@example.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)?