[GHC] #6061: threadDelay broken on Windows

GHC cvs-ghc at haskell.org
Fri May 4 11:04:57 CEST 2012


#6061: threadDelay broken on Windows
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:  pcapriotti      
        Type:  bug               |      Status:  patch           
    Priority:  highest           |   Milestone:  7.6.1           
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 BTW - I suggest not calculating the delay target on the IO manager thread,
 because that could introduce an arbitrary extra delay if the IO manager is
 not scheduled quickly.  Instead we should allow some tolerance (maybe only
 on Windows) for `ThreadDelay001`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6061#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list