
23 Feb
2008
23 Feb
'08
6:31 p.m.
Thanks, Bulat, I'll look into this!
On 2/23/08, Bulat Ziganshin
Hello Uwe,
Saturday, February 23, 2008, 11:35:35 PM, you wrote:
mysighandler = Catch (do hPutStrLn stderr "caught a signal!" fail "Interrupt!")
scheme calculation doesn't get interrupted at all! I see in the System.Posix.Signals documentation that the signal handler gets invoked in a new thread; is this the source of the problem?
yes, fail kills only this thread :)
you should store thread id of thread running interpreter and send async exception to it. control.concurrent is probably contains all required functions
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com