native threads

Bert Freudenberg bert at impara.de
Thu Apr 14 22:49:34 UTC 2005


Am 14.04.2005 um 23:11 schrieb Ramiro Diaz Trepat:

> Why are same priority processes not preemtable in Squeak?

Well, they are. If you need that, it's a peace of cake to write a 
round-robin time-slicing scheduler.

You know, that's *exactly* what happens for native threads, too - the 
OS kernel scheduler runs at higher priority and gives time slices to 
all processes. No process interrupts another one on the same priority 
on its own.

- Bert -




More information about the Squeak-dev mailing list