id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
2910,throwTo can block indefinitely when target thread finishes with exceptions blocked,int-e,igloo,"{{{throwTo}}} can block indefinitely when the target thread has exceptions blocked at thread creation time. The following test program demonstrates this problem.

{{{
import Control.Exception
import GHC.Conc
  
main = do
    t1 <- block $ forkIO yield
    t2 <- forkIO $ killThread t1
    threadDelay 1000000
    threadStatus t1 >>= print
    threadStatus t2 >>= print
}}}
can print (and does fairly reliably for me)
{{{
ThreadFinished
ThreadBlocked BlockedOnException
}}}
See also http://www.haskell.org/pipermail/reactive/2009-January/000197.html",merge,closed,normal,6.10.2,Runtime System,6.10.1,fixed,,,Unknown/Multiple,Unknown/Multiple,,Easy (less than 1 hour),,,,
