[squeak-dev] The Trunk: Collections-mtf.413.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 13 03:01:10 UTC 2010


Matthew Fulmer uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mtf.413.mcz

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

Name: Collections-mtf.413
Author: mtf
Time: 12 December 2010, 10:00:14.975 pm
UUID: 4e45df56-aa5f-458c-9433-34f99ade30ad
Ancestors: Collections-mtf.412

- print a guesstimate of the size of a shared queue in #printOn:

cherrypicked from Croquet:

Name: Collections-ar.17
Author: ar
Time: 4 October 2006, 12:44:49 pm
UUID: 5efa52eb-3e0f-b44d-8fed-f712332e50a6
Ancestors: Collections-ar.16

- print a guesstimate of the size of a shared queue in #printOn:

=============== Diff against Collections-mtf.412 ===============

Item was added:
+ ----- Method: SharedQueue>>printOn: (in category 'private') -----
+ printOn: aStream
+ 	super printOn: aStream.
+ 	"Print a guesstimate of the size of the queue without aquiring the lock properly"
+ 	aStream nextPut: $(.
+ 	aStream print: writePosition - readPosition.
+ 	aStream nextPut: $).!




More information about the Squeak-dev mailing list