Use error-checking mutexes on all platforms when DEBUG is on Otherwise ASSERT_LOCK_HELD will cause deadlocks
Use error-checking mutexes on all platforms when DEBUG is on
Otherwise ASSERT_LOCK_HELD will cause deadlocks

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