Formatting fix. Remove usage of C++11 thread, mutex, and condition var