Boost logo

Boost :

Subject: Re: [boost] [threadpool] relation with TR2 proposal
From: joaquin_at_[hidden]
Date: 2008-09-29 02:22:36


Anthony Williams escribió:
> Yes. The intention was that the free function launch_in_pool would use
> an implementation-provided global thread pool that would be as smart
> as the library implementor could manage.
>
> e.g. I have a working prototype for Windows that initially runs one
> pool thread per CPU. If a pool thread blocks on a future for a pool
> task it suspends the current task and runs a new task from the pool.
>

How do you do that? By re-executing the blocking task or using fibers?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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