Sebastian Redl wrote:
Could we simply export __exchange_and_add and __atomic_add from
libsupc++ instead of libstdc++? They are pretty basic building blocks
in my opinion.
I agree, in principle. However, sorry, I don't feel like doing that,
it's a non trivial change, because *anything* related to the atomic
builtins is non-trivial. So... If you volunteer to do that, patches
welcome, you can count on my to thorough and promptly review and help,
but if you drop the ball, I will simply enable the C++0x feature on the
safe subset of platforms, for 4.4.0, at least.
Paolo.