[squeak-dev] The Trunk: Collections-eem.472.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 11 16:38:02 UTC 2012


Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.472.mcz

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

Name: Collections-eem.472
Author: eem
Time: 11 April 2012, 9:37:25.167 am
UUID: 6439a628-62fe-4bf6-8677-043ed588def0
Ancestors: Collections-eem.471

Revert to a non-thread-safe TranscriptStream>contents to
avoid deadlock in things like Compiler>recompileAll.

=============== Diff against Collections-eem.471 ===============

Item was changed:
  ----- Method: TranscriptStream>>contents (in category 'accessing') -----
  contents
+ 	"Override to update lastChar."
+ 	position > 0 ifTrue:
+ 		[lastChar := collection at: position].
+ 	^super contents!
- 	^AccessSema critical:
- 		[| contents sz |
- 		contents := super contents. (sz := contents size) > 0 ifTrue:
- 			[lastChar := contents at: sz].
- 		contents]!



More information about the Squeak-dev mailing list