Re:Green Threads Explained
by bonzini on Monday May 29, 2017 @02:45PM
(#14440672)
Smalltalk-80 had green threads that have multiple priorities. Scheduling within each priority was round-robin, and timeouts (instances of the Delay class) were handled by a single high-priority thread that woke up threads whose deadline has passed. As a result, you could be preempted at any time not just by a higher-priority that, but also by another thread waiting on a Delay.
[ Parent
| on HN ]
There are no comments on this comment yet.