small optimisation for the program in #5367: if the worker thread being woken already has its wakeup flag set, don't bother signalling its condition variable again.
small optimisation for the program in #5367: if the worker thread
being woken already has its wakeup flag set, don't bother signalling
its condition variable again.

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