[Haskell-cafe] Spurious program crashes

Joel Reymont joelr1 at gmail.com
Thu Nov 17 10:38:49 EST 2005


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/







More information about the Haskell-Cafe mailing list