theraven added a comment. Looks fine (though this probably won't actually work correctly on ARMv4).
It's a shame that libc++ decided to reinvent the wheel here and not use the C11 atomics support... http://reviews.llvm.org/D13051 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits