Subject: Re: [boost] [threadpool] relation with TR2 proposal
Date: 2008-09-16 05:56:37
Am Dienstag, 16. September 2008 11:49:49 schrieb Johan Torp:
> There are at least two things which still needs be solved:
> 1. How to wait for multiple futures
Braddocks future lib provides support logical ops for futures:
future< int > f1 = ...
future< string > f2 = ...
future< void > f3 = op( f1) && op( f2);
f3.wait(); // waits for f1 and f2
> 2. How to employ work-stealing when one thread waits on a future
Do you mean fork/join algorithm instead work-stealing?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk