[squeak-dev] The Trunk: Morphic-ar.320.mcz
asqueaker at gmail.com
Fri Feb 5 19:34:31 UTC 2010
Sorry I lost that. Is the purpose of the execution timeout to allow
other Morphs a chance to step?
On Fri, Feb 5, 2010 at 12:48 AM, <commits at source.squeak.org> wrote:
> Andreas Raab uploaded a new version of Morphic to project The Trunk:
> ==================== Summary ====================
> Name: Morphic-ar.320
> Author: ar
> Time: 4 February 2010, 10:47:38.194 pm
> UUID: cdabac0e-275b-6042-85aa-2198a837dc8a
> Ancestors: Morphic-cmm.319
> Restore execution timeout for deferred ui message processing which was lost in previous change.
> =============== Diff against Morphic-cmm.319 ===============
> Item was changed:
> ----- Method: WorldState>>runStepMethodsIn: (in category 'stepping') -----
> runStepMethodsIn: aWorld
> "Perform periodic activity inbetween event cycles"
> + | queue msg limit stamp |
> + "Limit processing of deferredUIMessages to a max. amount of time"
> + limit := self class deferredExecutionTimeLimit.
> + stamp := Time millisecondClockValue.
> - | queue msg |
> queue := self class deferredUIMessages.
> + [(Time millisecondsSince: stamp) >= limit
> + or:[(msg := queue nextOrNil) == nil]]
> + whileFalse: [msg value].
> - [(msg := queue nextOrNil) == nil] whileFalse: [
> - msg value.
> - ].
> self runLocalStepMethodsIn: aWorld.
More information about the Squeak-dev