3 Jan
2015
3 Jan
'15
8:39 p.m.
On 03/01/2015 14:15, Hartmut Kaiser wrote:
What about:
future<void> f = copy_async(src, dst); f.then([](future<void>&& f) { fill_async(dst, 42.); })
Just to clarify, I believe this is the model that HPX implements. NT2, Joel Falcou's library that Sebastian also mentioned, uses this model. This abstraction can also be built on top of OpenMP 4.0 or TBB.