start on c++11 atomics implementation and test; #2273