[Haskell-cafe] thread killed
Clark Gaebel
cgaebel at uwaterloo.ca
Thu Apr 5 00:43:23 CEST 2012
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 <tsuraan at gmail.com> wrote:
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list