
16 Sep
2008
16 Sep
'08
9:56 a.m.
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? regards, Oliver