Thread converted to C++ 11 Library threads.