[Haskell-cafe] Threads and hGetLine
H. M.
h._h._h._ at hotmail.com
Sat Apr 28 20:23:03 CEST 2012
Hello,
The simplified problem:
There are two threads, one which is waits on input via
hGetLine
and another, which should terminate this thread or close this handle.
hClose
as well as
killThread
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
H.
More information about the Haskell-Cafe
mailing list