Boost logo

Boost :

Subject: Re: [boost] [thread_pool] Dependencies between tasks
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-09-05 01:30:59


----- Original Message -----
From: "Giovanni Piero Deretta" <gpderetta_at_[hidden]>
To: <boost_at_[hidden]>
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_at_[hidden]>
> 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


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