[Vm-dev] Re: [squeak-dev] Process>>isSusended
David T. Lewis
lewis at mail.msen.com
Fri Feb 19 03:03:47 UTC 2016
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
> ^myList isNil
> Pharo's reads
> ^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.
More information about the Vm-dev