Squeak process implicitly yields?

Andreas Raab andreas.raab at gmx.de
Mon Apr 26 16:01:56 UTC 2004


> In my understanding, Smalltalk processes are non-preemptive if their
> priorities are the same.
[...]
> Are there implicit yields in Squeak?

Yes. While it is true that Squeak's processes are non-preemptive if they run
at the same priority their behavior is somewhat out of the ordinary when
they get preempted by a higher priority process. Rather than being added as
the first process in the priority group (which would give you the expected
behavior) it is added as the last process thereby implicitly yielding to the
next process in this priority group.

Cheers,
  - Andreas




More information about the Squeak-dev mailing list