Actually, this has just become crucial for me. In my using of hWaitForInput I missed that it blocks all other threads if no input is available :-(. Arghh! I still need timeouts.

On Nov 17, 2005, at 3:00 PM, Simon Marlow wrote:

Regarding the behaviour of killThread, I believe the version in GHC is
slightly different from the version described in the Asynchronous
Exceptions paper, in particular the GHC version blocks until the
exception has been delivered to the target thread (use another forkIO to
get the fully async version).

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to