[GHC] #4339: Control.Concurrent.threadDelay is in microseconds contrary to documentation

GHC cvs-ghc at haskell.org
Sat Sep 25 08:47:11 EDT 2010


#4339: Control.Concurrent.threadDelay is in microseconds contrary to documentation
--------------------------+-------------------------------------------------
    Reporter:  osaunders  |       Owner:                   
        Type:  bug        |      Status:  new              
    Priority:  normal     |   Component:  Documentation    
     Version:  6.12.3     |    Keywords:                   
    Testcase:             |   Blockedby:                   
          Os:  MacOS X    |    Blocking:                   
Architecture:  x86        |     Failure:  Documentation bug
--------------------------+-------------------------------------------------
 The documentation for Control.Concurrent.threadDelay says it waits the
 number of specified milliseconds (1000 milliseconds = 1 second) but you
 need to specify 1000000 to get it to wait a single second, which would
 indicate it is actually accepting microseconds (1,000,000 microseconds = 1
 second).

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


More information about the Glasgow-haskell-bugs mailing list