Reputation: 17238
Would the simplest way to create a threadpool (or, at least obtain the code for a working one) be from C++11?
I have a problem accessing libraries from work, I am having problems getting hold of C++11 compiler. Would it be easier/harder finding a threadpool example from boost? I may be able to get the boost libraries installed. If not, I will have to try and find a way to get C++11 compiler.
(In case anybody is wondering why I am asking, I have VS2010 installed, but that has no C++11 and I cannot update cygwin due to work restrictions on TCP ports).
Upvotes: 2
Views: 1383
Reputation: 34537
C++11 doesn't have anything particular for thread pooling built in to it. I think you want Boost-based threadpool implementation.
Upvotes: 1