hi, On Sat, Apr 05, 2008 at 10:41:31PM -0600, Jim Ursetto wrote: > I'm seeing some odd behavior when using dynamic-wind within a thread. > If an error occurs during the thunk, the 'after' portion is never > called nor are any subsequent statements. thread-join! then throws > an exception. > > Can anyone shed light on this? It is causing problems with the > sqlite3 egg.
i've had similar problems without threads. i think the default exception handler doesn't unwind the call stack but simply (exit)s / terminates the thread. it worked for me when i used handle-exceptions (which unwinds the call stack before the exception handling code runs) around my main function. hth&bye, hans. _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
