Boost logo

Boost :

From: Darren Garvey (darren.garvey_at_[hidden])
Date: 2008-05-08 11:57:34


Hi vincent,

2008/5/8 vicente.botet <vicente.botet_at_[hidden]>:

>
> In addition a cached thread should behaves as much as possible as a thread.
> A thread_pool is much more a multi_task scheduler than a thread factory.
>
> Maybe a thread_pool with the needed policies can give the same result. Why
> not?
> . Task type : provide the thread functionality
> . Scheduling Policy : immediate (Synchronous)
> . Size Policy creates a new one when no more available
>
> Do you know a thread_pool library allowing to implement the required
> behaviour?
>

http://sourceforge.net/projects/threadpool

It looks like it's still being maintained. I've never really used it for
anything proper, but it seems to do some of the things you're looking for.

Regards,
Darren


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