
4 Apr
2012
4 Apr
'12
6:43 p.m.
Whenever I've deadlocked, it terminated the program with "thread
blocked indefinitely in an MVar operation".
On Wed, Apr 4, 2012 at 5:59 PM, tsuraan
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.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe