Add new spin lock sample in c++11