felix winkelmann wrote:
Ok, here is what Marc Feeley, the author of SRFI-18 has to say about this:

when an uncaught exception occurs in a thread the thread is in bad shape and things have gone sufficiently wrong that there is no universally acceptable way to continue execution. Executing after thunks could require a whole lot of processing that the thread is not in a shape to do. So the safe thing is to terminate the thread.

Is this argument specific to Chicken threads?

I wonder how other compilers do it. For example, I find Java's (and Python's) try/finally syntax quite useful. I've always thought dynamic-wind was Scheme's equivalent construct, but it would appear I was mistaken.

-Tobia


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to