The Trunk: Kernel-mtf.455.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-mtf.455.mcz

commits-2
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]!