[squeak-dev] The Inbox: System-ael.468.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 25 11:22:20 UTC 2012


A new version of System was added to project The Inbox:
http://source.squeak.org/inbox/System-ael.468.mcz

==================== Summary ====================

Name: System-ael.468
Author: ael
Time: 25 February 2012, 3:21:15.203 am
UUID: 322bc08b-b967-8040-a293-ceadf3dbd6d0
Ancestors: System-cwp.467

fix to avoid timing/drawing problems when opening MessageTally reports from processes other than the UI process

=============== Diff against System-cwp.467 ===============

Item was changed:
  ----- Method: MessageTally class>>spyOn:reportOtherProcesses: (in category 'spying') -----
  spyOn: aBlock reportOtherProcesses: aBoolean
  	"
  	Spy on aBlock, in the current process. Can include or not statistics on other processes in the report.
  	[1000 timesRepeat: [
  		100 timesRepeat: [120 factorial].
  		(Delay forMilliseconds: 10) wait
  		]] forkAt: 45 named: '45'.
  	MessageTally spyOn: [10000 timesRepeat: [1.23 printString]] reportOtherProcesses: true
  	"
  	| node result |
  	node := self new.
  	node reportOtherProcesses: aBoolean.
  	result := node spyEvery: self defaultPollPeriod on: aBlock.
+ 	WorldState addDeferredUIMessage: [ self showReport: node ].
- 	self showReport: node.
  	^ result!



More information about the Squeak-dev mailing list