2 ms·
But you can do the same with threads: pin them to a single cpu/scheduler and use a non-preemptive scheduling strategy. At some point you realize that explicit
by gpderetta 5y ago
But you can do the same with threads: pin them to a single cpu/scheduler and use a non-preemptive scheduling strategy.
At some point you realize that explicit continuation passing, threads, coroutines and async/await are all the same thing, and the only thing that async/await gives you is a static bound on your suspended stack size (by enforcing suspension of a single activation frame).