On Fri, 18 Oct 2013, Andrew MacLeod wrote:
I had thought about making the type and value of atomic_flag hooks , but never
got to it. There is currently one for the TRUE value which is exposed to the
C++ templates as" __GCC_ATOMIC_TEST_AND_SET_TRUEVAL"
I'm tending to think of this, and alignment for cris, as things that don't
need to be done before the work is mainline-ready - if the basic support
is in, architecture maintainers can add whatever hooks they need for their
architectures later, not just in development stage 1.