Thread_Mutex_Semaphore C++ Cross-Platform Thread , Mutex and Semaphore Linux Test g++ *.cpp -lpthread -o main ./main Windows Test create a visual studio project and copy the source files to test.