I’ve decided to make a game in C++ recently and I figured out that there isn’t multi-threading support in C++ 🙁 There are libraries but they are platform dependent and that’s not really good. Is there any way to do this platform-independent in C++?
Share
C++11 has built-in threading support (as part of the language as well as the standard library).
http://en.wikipedia.org/wiki/C%2B%2B11#Multithreading_memory_model
http://en.wikipedia.org/wiki/C%2B%2B11#Threading_facilities
Also, boost::thread (boost::asio I believe) does offer (more or less) platform independent threading support (and it’s not the only library that offers this).