
----- Original Message ----- From: "Giovanni Piero Deretta" <gpderetta@gmail.com> To: <boost@lists.boost.org> Sent: Friday, September 05, 2008 6:53 AM Subject: Re: [boost] [thread_pool] Dependencies between tasks
On Fri, Sep 5, 2008 at 6:44 AM, vicente.botet <vicente.botet@wanadoo.fr> wrote:
Hi,
the tread_pool pattern is very useful to improve parallelism. But sometimes we need to constraint this parallelism, for example when several task are related to the same 'instance' it could be safer to sequence them.
Is there a mechanism that allows to do thinks like that on the thread_pool library?
You probably need something like the Strand concept in Asio. I wouldn't be surprised if you could reuse exactly the same implementation.
-- gpd _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thanks for the pointer, I will take a look. Vicente