
8 Jan
2013
8 Jan
'13
4:52 p.m.
Clang has std::atomic though, doesn't it? It probably supports the
__sync intrinsics as well.
Actually, it seems to support the even better __atomic intrinsics:
http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html Also here: http://libcxx.llvm.org/atomic_design_a.html
that's libcxx, which is not available on osx before 10.7 ...