C++ – For C++ MacOSX app, what threading library to use

cmacosmultithreading

I'm on MacOSX, writing an app in C++.

What threading library should I use? pThreads? or is there something else?

Thanks!

Best Answer

Consider using something cross-platform, like Boost.Thread (one advantage of Boost.Thread is that it is very similar to the thread library proposed as part of C++0x, so in the future, moving will be simpler).