[Haskell-cafe] thread killed

tsuraan tsuraan at gmail.com
Wed Apr 4 23:59:23 CEST 2012


My Snap handlers communicate with various resource pools, often
through MVars.  Is it possible that MVar deadlock would be causing the
runtime system to kill off a contending thread, giving it a
ThreadKilled exception?  It looks like ghc does do deadlock detection,
but I can't find any docs on how exactly it deals with deadlocks.



More information about the Haskell-Cafe mailing list