[squeak-dev] The Trunk: Kernel-mtf.455.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 3 13:37:54 UTC 2010


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

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

Name: Kernel-mtf.455
Author: mtf
Time: 3 June 2010, 9:41:09.471 am
UUID: 515e8964-f471-4ac6-bcec-47e74b833f86
Ancestors: Kernel-mtf.454

Added a support method for making error handlers re-entrant. Needed for preserving Tweak island semantics in the presence of syncSends and error resignalling

=============== Diff against Kernel-mtf.454 ===============

Item was added:
+ ----- Method: ContextPart>>rearmHandlerDuring: (in category 'private-exceptions') -----
+ rearmHandlerDuring: aBlock
+ 	"Sent to handler (on:do:) contexts only. Makes me re-entrant for the duration of aBlock. Only works in a closure-enabled image"
+ 
+ 	^ [self tempAt: 3 put: true. aBlock value]
+ 		ensure: [self tempAt: 3 put: false]!




More information about the Squeak-dev mailing list