[Haskell-cafe] Signal 2 and -threaded

Joel Reymont joelr1 at gmail.com
Tue Dec 6 05:59:05 EST 2005

I'm seeing some funky behavior in my program compiled with -threaded.  
It runs for a little while and then catches signal 2 and quits. This  
does not happen when -threaded is not used.

I'm compiling my library with -threaded so that is always constant.  
The above applies to my main module and another module that is part  
of it.

Any ideas?

I decided to compile with -threaded because otherwise killThread  
seems to block when a thread is in a foreign call.

	Thanks, Joel


More information about the Haskell-Cafe mailing list