[threadpool] from your experience, is it safe to use threadpool with recent boost release?
Dear community, I found the threadpool library very useful (http://threadpool.sourceforge.net/). Apparently, it was designed for boost 1.37.0 and seemed to target inclusion in boost but probably did never go to a review because its author had not enough time to meet all requirements for boost inclusion, in particular, documentation. However, it is ready to be used with boost as is can just be untared in the boost include directory. I have tried to use it with boost 1.51.0 and it seems to work nicely. Before using it for long term projects, I was wondering if some of you use this library with success together with a rather recent boost release? Do you experience any issue or everything is just fine. Any chance that the latest changes in the thread library (http://thread.gmane.org/gmane.comp.lib.boost.devel/237484) would impact threadpool? Regards, Frédéric
On 29/01/13 01:03 AM, Frédéric Bron wrote:
Dear community,
I found the threadpool library very useful (http://threadpool.sourceforge.net/). Apparently, it was designed for boost 1.37.0 and seemed to target inclusion in boost but probably did never go to a review because its author had not enough time to meet all requirements for boost inclusion, in particular, documentation. However, it is ready to be used with boost as is can just be untared in the boost include directory. I have tried to use it with boost 1.51.0 and it seems to work nicely. Before using it for long term projects, I was wondering if some of you use this library with success together with a rather recent boost release? Do you experience any issue or everything is just fine. Any chance that the latest changes in the thread library (http://thread.gmane.org/gmane.comp.lib.boost.devel/237484) would impact threadpool?
Regards,
Frédéric _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users We are using threadpool in our product and it works fine with boost 1.47. Just make sure you have applied the following patch:
http://sourceforge.net/tracker/download.php?group_id=158064&atid=806335&file_id=395168&aid=3127011 Arash
We are using threadpool in our product and it works fine with boost 1.47. Just make sure you have applied the following patch:
http://sourceforge.net/tracker/download.php?group_id=158064&atid=806335&file_id=395168&aid=3127011
Thank you for the feedback and patch. Did you send a notice for this bug to the author? Regards, Frédéric
We are using threadpool in our product and it works fine with boost 1.47. Just make sure you have applied the following patch: http://sourceforge.net/tracker/download.php?group_id=158064&atid=806335&file_id=395168&aid=3127011
Nobody else using threadpool? Is there an alternative within boost? Frédéric
On Wed, Jan 30, 2013 at 9:15 PM, Frédéric Bron
Nobody else using threadpool?
Personally I prefer to use TBB because I'm not sure about threadpool like you.
Is there an alternative within boost?
Nope. Actually it is often suggested to use boost::asio like there: http://progsch.net/wordpress/?p=71 Not sure of the limitations thought. Joel Lamotte
2013/1/31 Klaim - Joël Lamotte:
Actually it is often suggested to use boost::asio like there: http://progsch.net/wordpress/?p=71 Not sure of the limitations thought.
Here only the destructor of a ThreadPool doesn't wait completions of all tasks :) Original version: http://liveworkspace.org/code/3gLtD4$0 Modified version: http://liveworkspace.org/code/3gLtD4$1 -- Regards, niXman ___________________________________________________ Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingwbuilds/ ___________________________________________________ Another online IDE: http://liveworkspace.org/
participants (4)
-
Arash Abghari
-
Frédéric Bron
-
Klaim - Joël Lamotte
-
niXman