Hi, everyone!
I have a function, which sometimes takes a long time to compute or even
may loop forever. So I want to limit it in time somehow.
I tried to run it in another thread in order to kill it after its time
lapsed. But it seems to lock out other threads so they can't terminate it.
I wonder is there some clever way of dealing with such situation
(running a computation in background for specific time) ?
Thanks a lot.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe