Reputation:
I prefer a lib solely based on pthreads. What is a good c++ lib to for threading?
Upvotes: 5
Views: 4560
Reputation: 6207
I looked at some options some time ago. Here are some:
Then you have libraries that let you operate at an higher abstraction level like Thread Buildings Blocks.
Upvotes: 9
Reputation: 5238
Also, also, if you need some concurrency, but don't want to play that much with the threads, then you could look at Thread Building Blocks.
Upvotes: 1
Reputation: 18631
Upvotes: 1
Reputation: 4216
How about boost threads?
Boost.Thread enables the use of multiple threads of execution with shared data in portable C++ code. It provides classes and functions for managing the threads themselves, along with others for synchronizing data between the threads or providing separate copies of data specific to individual threads.
Upvotes: 12