chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Threads and dynamic-wind still problematic


From: Tobia Conforto
Subject: Re: [Chicken-users] Threads and dynamic-wind still problematic
Date: Sun, 8 Mar 2009 21:59:53 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]