Subject: Re: [boost] [thread_pool] Dependencies between tasks
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2008-09-05 00:53:25
On Fri, Sep 5, 2008 at 6:44 AM, vicente.botet <vicente.botet_at_[hidden]> wrote:
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk