Feb. 19, 2016
3:03 a.m.
On Thu, Feb 18, 2016 at 01:22:28PM -0800, Eliot Miranda wrote:
Hi All,
we have a serious misunderstanding in current versions of Squeak's and Pharo's Process>>isSuspended.
Squeak's version reads
isSuspended ^myList isNil
Pharo's reads
isSuspended ^myList isNil or: [ myList isEmpty ]
Process's myList holds the list a process is on when it is not running. There is only one running process at any one time, Processor activeProcess. The active process's myList is always nil, so Squeak's and Pharo's are both wrong for the active process.
Processor activeProcess isSuspended => true (!!!)
This was working correctly as of Squeak4.6, but not in Squeak5.0.15113.image. Dave