Comment by varjag
8 days ago
Green threads are cooperative threads. Preemption requires ability to handle hardware interrupts, which are typically handled by the OS.
8 days ago
Green threads are cooperative threads. Preemption requires ability to handle hardware interrupts, which are typically handled by the OS.
What do you mean by this?
Everything purely in userspace is by definition cooperative, because to be non-cooperative, you must dip down below userspace.