|
|
|
|
|
by kragen
892 days ago
|
|
cooperative multitasking, as i use the term, keeps you from having to transform your code. it maintains a separate stack per task, just like preemptive multitasking. so async/await isn't cooperative multitasking, though it can achieve similar goals possibly you are using the terms in subtly different ways so it appears that we disagree when we do not |
|
If the OS forcefully switches control it's preemptive.