Add example from the GNU programmer manual on C++11 atomics