A C++ 11 concurrency sample