[RFC][PATCH 0/5] arch: atomic rework

Joseph S. Myers joseph@codesourcery.com
Mon Feb 17 18:59:00 GMT 2014


On Sat, 15 Feb 2014, Torvald Riegel wrote:

> glibc is a counterexample that comes to mind, although it's a smaller
> code base.  (It's currently not using C11 atomics, but transitioning
> there makes sense, and some thing I want to get to eventually.)

glibc is using C11 atomics (GCC builtins rather than _Atomic / 
<stdatomic.h>, but using __atomic_* with explicitly specified memory model 
rather than the older __sync_*) on AArch64, plus in certain cases on ARM 
and MIPS.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list