[Haskell-cafe] Threads and hGetLine

H. M. h._h._h._ at hotmail.com
Sat Apr 28 20:23:03 CEST 2012


The simplified problem:

There are two threads, one which is waits on input via 
and another, which should terminate this thread or close this handle.

as well as
doesn't seem to work, caused by the fact, that the thread is blocked until input
is availiable.

Hopefully you have some solution how to kill the thread and/or close the handle
and/or have some other idea to get the lined input in the other thread.

Thanks in advance

More information about the Haskell-Cafe mailing list