[squeak-dev] The Trunk: Morphic-ar.320.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 5 06:49:45 UTC 2010


Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.320.mcz

==================== 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 mailing list