[squeak-dev] The Trunk: Collections-nice.159.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 5 17:10:52 UTC 2009


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.159.mcz

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

Name: Collections-nice.159
Author: nice
Time: 5 October 2009, 7:10:28 am
UUID: a6cab506-9527-4527-92e3-f43a1f5b675f
Ancestors: Collections-nice.158

As signalled by Henrik Johansen in Pharo list, it might be safer to  modify the monitor inst. var. after all the others in case postCopy is used outside its ^self shallowCopy postCopy context.

=============== Diff against Collections-nice.158 ===============

Item was changed:
  ----- Method: SharedQueue2>>postCopy (in category 'copying') -----
  postCopy
  	super postCopy.
  	monitor critical:
+ 		[items := items copy.
+ 		monitor := Monitor new]!
- 		[monitor := Monitor new.
- 		items := items copy]!




More information about the Squeak-dev mailing list