[Haskell-cafe] GHCi and threads, was Connecting to a running process (REPL)

Rohan Drape rd at slavepianos.org
Sat Dec 10 18:45:23 EST 2005


On Tue Dec 6 15:01:45 EST 2005 Tomasz Zielonka wrote:

> Unfortunately it seems that forkIO'ed threads are freezed when GHCi is
> waiting for command-line input. I bet it would be possible to let
> the threads work in the background. I think the current behaviour is
> caused by using readline, which is a foreign library. Or it is by
> design?

I also think this is unfortunate, and would like to know if this can
be worked around (ie. I could happily live without readline if that is
the issue and it can be switched off).

Regards,
Rohan


More information about the Haskell-Cafe mailing list