Microseconds in hWaitForInput

Simon Marlow simonmar at microsoft.com
Wed Sep 3 06:49:35 EDT 2003


 
> From libraries/base/cbits/inputReady.c:
> 
>         tv.tv_sec  = msecs / 1000;
>         tv.tv_usec = msecs % 1000;
> 
> This should be (msecs % 1000) * 1000, right? usec stands for 
> microseconds.
> See http://www.haskell.org/onlinereport/io.html#sect21.9.1.

Fixed, thanks.

Cheers,
   Simon



More information about the Glasgow-haskell-bugs mailing list