29 Jun
2026
29 Jun
'26
3:04 p.m.
On Mon, Jun 29, 2026 at 8:02 AM Rainer Deyke via Boost < boost@lists.boost.org> wrote:
It's easy to come up with examples where executor hops are saved by resume_on.
task<int> f() { capy::run(ex1)([] { do_something_on_e1(); }); capy::run(ex2)([] { do_something_on_e2(); }); capy::run(ex3)([] { do_something_on_e3(); }); }
Yes of course this is a contrived example but what is the use case? What executors are these? Does each represent a different thread pool? A different pinned CPU? Why are you launching a coroutine on one executor, and then sequentially waiting for each of three coroutines, each launched on a different executor? Thanks