3 ms·
Green threads are cooperative threads. Preemption requires ability to handle hardware interrupts, which are typically handled by the OS.
by varjag 7mo ago
Green threads are cooperative threads. Preemption requires ability to handle hardware interrupts, which are typically handled by the OS.
- patrec 7mo agoWhat do you mean by this?
- reverius42 7mo agoEverything purely in userspace is by definition cooperative, because to be non-cooperative, you must dip down below userspace.