XCode std::thread C++ XCode std::thread C++ multithreading multithreading

XCode std::thread C++


Use G++ instead of LLVM in XCode. Don't forget to link thread libs (-lpthread - or -pthread, -lrt) in compiler build settings. And count with the differences of thread behaviour across Win/Mac/Linux OS (despite it's POSIX)