
5 Sep
2008
5 Sep
'08
4:53 a.m.
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