Fix #2637: conc032(threaded2) failure There was a race condition whereby a thread doing throwTo could be blocked on a thread that had finished, and the GC would detect this as a deadlock rather than raising the pending exception.  We can't close the race, but we can make the right thing happen when the GC runs later.
Fix #2637: conc032(threaded2) failure
There was a race condition whereby a thread doing throwTo could be
blocked on a thread that had finished, and the GC would detect this
as a deadlock rather than raising the pending exception.  We can't
close the race, but we can make the right thing happen when the GC
runs later.

jstolarek/ghc,mcmaniac/ghc,acowley/ghc,vikraman/ghc,olsner/ghc,christiaanb/ghc,green-haskell/ghc,tjakway/ghcjvm,TomMD/ghc,acowley/ghc,shlevy/ghc,gridaphobe/ghc,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,oldmanmike/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,ghc-android/ghc,green-haskell/ghc,tjakway/ghcjvm,da-x/ghc,snoyberg/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,ekmett/ghc,anton-dessiatov/ghc,ilyasergey/GHC-XAppFix,tjakway/ghcjvm,sdiehl/ghc,nkaretnikov/ghc,TomMD/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,frantisekfarka/ghc-dsi,acowley/ghc,mcmaniac/ghc,wxwxwwxxx/ghc,christiaanb/ghc,acowley/ghc,mcmaniac/ghc,ml9951/ghc,wxwxwwxxx/ghc,vikraman/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,frantisekfarka/ghc-dsi,snoyberg/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,fmthoma/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,holzensp/ghc,elieux/ghc,elieux/ghc,frantisekfarka/ghc-dsi,spacekitteh/smcghc,vikraman/ghc,ilyasergey/GHC-XAppFix,sgillespie/ghc,TomMD/ghc,tibbe/ghc,ryantm/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,nushio3/ghc,olsner/ghc,gridaphobe/ghc,mettekou/ghc,oldmanmike/ghc,TomMD/ghc,vTurbine/ghc,hferreiro/replay,olsner/ghc,hferreiro/replay,olsner/ghc,snoyberg/ghc,mcschroeder/ghc,acowley/ghc,mcschroeder/ghc,gridaphobe/ghc,TomMD/ghc,oldmanmike/ghc,GaloisInc/halvm-ghc,ezyang/ghc,christiaanb/ghc,holzensp/ghc,nomeata/ghc,holzensp/ghc,shlevy/ghc,GaloisInc/halvm-ghc,spacekitteh/smcghc,christiaanb/ghc,fmthoma/ghc,gcampax/ghc,mettekou/ghc,nkaretnikov/ghc,shlevy/ghc,AlexanderPankiv/ghc,nomeata/ghc,siddhanathan/ghc,fmthoma/ghc,urbanslug/ghc,ml9951/ghc,fmthoma/ghc,shlevy/ghc,sdiehl/ghc,mcschroeder/ghc,olsner/ghc,snoyberg/ghc,mettekou/ghc,nkaretnikov/ghc,lukexi/ghc-7.8-arm64,holzensp/ghc,vikraman/ghc,urbanslug/ghc,ml9951/ghc,lukexi/ghc,da-x/ghc,da-x/ghc,siddhanathan/ghc,mfine/ghc,ghc-android/ghc,nathyong/microghc-ghc,jstolarek/ghc,ryantm/ghc,ezyang/ghc,nushio3/ghc,nushio3/ghc,lukexi/ghc,olsner/ghc,oldmanmike/ghc,anton-dessiatov/ghc,urbanslug/ghc,anton-dessiatov/ghc,fmthoma/ghc,vTurbine/ghc,mcmaniac/ghc,lukexi/ghc-7.8-arm64,TomMD/ghc,urbanslug/ghc,anton-dessiatov/ghc,jstolarek/ghc,ryantm/ghc,ekmett/ghc,tjakway/ghcjvm,ezyang/ghc,shlevy/ghc,sdiehl/ghc,mfine/ghc,ilyasergey/GHC-XAppFix,elieux/ghc,ekmett/ghc,fmthoma/ghc,ilyasergey/GHC-XAppFix,siddhanathan/ghc,nomeata/ghc,siddhanathan/ghc,mcschroeder/ghc,mfine/ghc,ml9951/ghc,mcschroeder/ghc,bitemyapp/ghc,tibbe/ghc,sdiehl/ghc,vTurbine/ghc,AlexanderPankiv/ghc,ekmett/ghc,tibbe/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,shlevy/ghc,bitemyapp/ghc,nkaretnikov/ghc,sgillespie/ghc,nomeata/ghc,lukexi/ghc-7.8-arm64,mcschroeder/ghc,ml9951/ghc,acowley/ghc,hferreiro/replay,anton-dessiatov/ghc,mettekou/ghc,gcampax/ghc,ryantm/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,ghc-android/ghc,mettekou/ghc,elieux/ghc,bitemyapp/ghc,lukexi/ghc,ml9951/ghc,hferreiro/replay,siddhanathan/ghc,snoyberg/ghc,sgillespie/ghc,hferreiro/replay,elieux/ghc,da-x/ghc,mfine/ghc,oldmanmike/ghc,spacekitteh/smcghc,mcmaniac/ghc,nomeata/ghc,da-x/ghc,vikraman/ghc,gridaphobe/ghc,gcampax/ghc,GaloisInc/halvm-ghc,siddhanathan/ghc,nkaretnikov/ghc,urbanslug/ghc,christiaanb/ghc,green-haskell/ghc,shlevy/ghc,nathyong/microghc-ghc,gridaphobe/ghc,gcampax/ghc,gcampax/ghc,green-haskell/ghc,elieux/ghc,sgillespie/ghc,tjakway/ghcjvm,siddhanathan/ghc,urbanslug/ghc,sgillespie/ghc,oldmanmike/ghc,mettekou/ghc,ml9951/ghc,gridaphobe/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,nushio3/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,jstolarek/ghc,tjakway/ghcjvm,ml9951/ghc,lukexi/ghc,snoyberg/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,wxwxwwxxx/ghc,da-x/ghc,tibbe/ghc,nkaretnikov/ghc,hferreiro/replay,mcschroeder/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,vTurbine/ghc,vikraman/ghc,gridaphobe/ghc,sgillespie/ghc,christiaanb/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,bitemyapp/ghc,vTurbine/ghc,bitemyapp/ghc,mettekou/ghc,lukexi/ghc,gcampax/ghc,ghc-android/ghc,nushio3/ghc,ryantm/ghc,snoyberg/ghc,nathyong/microghc-ghc,holzensp/ghc,mfine/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,elieux/ghc,AlexanderPankiv/ghc,christiaanb/ghc,ghc-android/ghc,ezyang/ghc,sdiehl/ghc,ghc-android/ghc,gcampax/ghc,ezyang/ghc,acowley/ghc,sgillespie/ghc,spacekitteh/smcghc,hferreiro/replay,AlexanderPankiv/ghc,ezyang/ghc,jstolarek/ghc,da-x/ghc,ekmett/ghc,lukexi/ghc-7.8-arm64,green-haskell/ghc,olsner/ghc,urbanslug/ghc,nathyong/microghc-ghc,ghc-android/ghc,vTurbine/ghc,vikraman/ghc