The task always suspends until resume is called. Once operation returns, the task stops executing, and the executor is free to schedule another task on the same thread.
It is absolutely memory-unsafe to misuse a continuation.
The task always suspends until resume is called. Once operation returns, the task stops executing, and the executor is free to schedule another task on the same thread.
It is absolutely memory-unsafe to misuse a continuation.