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⑈ _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://haskell.org/mailman/listinfo/haskell-prime