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, 4 Nov 2010, Chris Metcalf wrote:

> Glibc uses <atomic.h> (with <bits/atomic.h>) internally but does not
> install it.  The header would seem to be a great way to provide convenience
> wrappers to atomic functionality.  On our platforms (TILEPro, TILE-Gx) the

Clearly the proper wrappers to provide would be C1x <stdatomic.h> rather 
than exporting glibc's internal interfaces.  Given the tricky ABI issues 
and compiler interaction, I think you want to wait for the compiler work 
described at <http://gcc.gnu.org/wiki/Atomic> to be more nearly complete 
before implementing the header in conjunction with the people working on 
that compiler support.

-- 
Joseph S. Myers
joseph@codesourcery.com


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