- update: port atomicint to c++11.