Signals + minimal proposal (was Re: asynchronous exceptions)

John Meacham john at repetae.net
Tue Apr 11 07:11:02 EDT 2006


On Tue, Apr 11, 2006 at 08:54:32AM +0100, Simon Marlow wrote:
> now If I have a handler registered that throws an exception to the
> current thread, what happens?  handleLoop is aborted, the exception is
> propagated to the top level of the thread, where the top-level exception
> handler calls exitWith again, and promptly deadlocks because exitMVar is
> already empty.

True, the handlers probably should run in their own thread then. hmm..
will think more on these issues...

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Haskell-prime mailing list