add multithreading C++ mutex examples