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

Igor Stasenko siguctua at gmail.com
Sat May 21 00:50:49 UTC 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.squeakfoundation.org/pipermail/squeak-dev/attachments/20110521/a1e5dc72/on-fork.1.obj


More information about the Squeak-dev mailing list