[GHC] #6061: threadDelay broken on Windows

GHC cvs-ghc at haskell.org
Wed May 2 17:43:53 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 pcapriotti):

 As discussed with Simon, I moved `getMonotonicUSec` to the RTS (actually,
 I made it into `getMonotonicNSec` to avoid an intermediate conversion).

 For the moment, it's used only on Windows, but it could possibly be used
 by the other platforms as well, to avoid duplication. That can be done
 separately, in any case.

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



More information about the Glasgow-haskell-bugs mailing list