Disable the timer signal while blocked in select() (#5991)
Disable the timer signal while blocked in select() (#5991)

The threaded RTS had a fix for this a long time ago (#1623) but this
patch applies a similar fix to the non-threaded RTS.

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