"GHC as a library" stalls when nobody is consuming it's output

Simon Marlow simonmarhaskell at gmail.com
Fri Jun 8 05:02:48 EDT 2007

Mads Lindstrøm wrote:

> While trying to implement a GUI for GHCi, I have run into an annoying
> concurrency problems. I think "GHC as a library" is at fault, as it
> stalls (maybe some deadlock) when nobody is consuming it's output.

Thanks Mads, I took a look but didn't get to the bottom of the problem yet.  It 
behaves differently with the current development GHC, at least.  For now I've 
created a ticket for it:


and I'll get to it before the 6.8 release.


More information about the Glasgow-haskell-users mailing list