Boost logo

Boost :

Subject: [boost] a thread pool that allows recursive calls
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2015-06-11 15:53:52


Dear boosters,

I need to perform some tasks in parallel and want to control the
number of CPUs that are used.
A threadpool seems to be what I want and
http://threadpool.sourceforge.net/ looks good.

However, my tasks may also want to launch some parallel sub-tasks and
the sub-tasks may also want to launch tome parallel sub-sub-tasks...
and this is not possible with this implementation of threadpool. I
have programmed something that works and I wonder if anyone had also
already done that because my implementation is very rudimental for now
and if something already exists I do not want to reinvent the wheel.

Having said that, if there is nothing publicly available (I mean
open-source), do you think it would be valuable I share what I did and
make it available to boost as a library? This would require some
advices/reviews from thread experts and a lot of work from me but I
would be happy to contribute.

Kind regards,

Frédéric


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk