Implement C++11 threading/mutex examples.