[project @ 2005-03-02 13:11:00 by simonmar] We should not assume that the timeout parameter to select() is updated with the time left over after select() returns.  Linux does this, but FreeBSD does not.
[project @ 2005-03-02 13:11:00 by simonmar]
We should not assume that the timeout parameter to select() is updated
with the time left over after select() returns.  Linux does this, but
FreeBSD does not.

Fixes -threaded hangs on FreeBSD.

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