Il 25/03/2014 15:00, Gwenaël Casaccio ha scritto:
+        <category: 'private'>
+
+        Termination isNil ifFalse: [ ^ Termination ].
+        ^ [
+            Termination isNil ifTrue: [ Termination := MethodContext
+                                                                stack: 4
+                                                                flags: 6
+                                                                method: 
UndefinedObject>>#__terminate
+                                                                ip: 0
+                                                                sp: -1 ].
+            Termination
+          ] valueWithoutPreemption
+    ]

Can you explain this better?  What does it have to do with #ensure:?

Also, can you just use ##( ... ) and avoid #valueWithoutPreemption?

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to