NVIDIA / stdexec

`std::execution`, the proposed C++ framework for asynchronous and parallel programming.
Apache License 2.0
1.56k stars 159 forks source link

{#design-transitions}: Is it true that only `execution::schedule` can create a sender that will move execution to a specific execution context? #106

Closed brycelelbach closed 10 months ago

brycelelbach commented 3 years ago

We have this sentence in {#design-transitions}:

The only operation that can create a sender that will move execution to a specific execution context is execution::schedule.

Is that true? What about execution::reschedule?

mjgarland commented 3 years ago

I think the statement you quoted is referring to the state of affairs in P0443r14, by way of justifying the need for additional algorithms like transfer f.k.a. reschedule in P2300. It should be rewritten to be clearer that this is what it means.