Some concurrent programming tests in c++ 2011