Squeak process implicitly yields?

Masashi Umezawa umejava at mars.dti.ne.jp
Mon Apr 26 18:13:00 UTC 2004


Hi,

> There's a simple choice that has to be made when suspending Processes;
> add to the front of the priority queue or the back? To the best of my
> recollection the Blue Book specified 'back' and that's what Squeak
> does. VW changed to use 'front' quite a few years ago on the grounds
> that it would do what you are expecting. I really don't know what the
> 'proper' answer is; one way makes a process run until it completes and
> the other allows a sort of 'fair shake' for all the processes at a
> priority. We could easily change Squeak (especially now we have the
> primitiveYield) but as to what is correct.... <shrug>.
> 

Thanks. Now I understand there are two parties in this field.

Maybe ANSI Smalltalk should have touched this topic.

Cheers,
---
[:masashi | ^umezawa]




More information about the Squeak-dev mailing list