[Pharo-project] [squeak-dev] My solution to handling errors in system-critical processes

Igor Stasenko siguctua at gmail.com
Sat May 21 02:50:49 CEST 2011


Here the revised version, which more optimal.
Initially i was capturing thisContext into temporary variable,
which when running on Stack-based VMs leads to reifying context on heap.
This can be avoided, since we can simply find this context from closure's home.

So if your code runs without errors you will pay usual price of #on:do: handler.


-- 
Best regards,
Igor Stasenko AKA sig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: on-fork.1.cs
Type: application/octet-stream
Size: 1418 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110521/a1e5dc72/attachment.obj>


More information about the Pharo-project mailing list