[GHC] #12999: Investigate use of floating-point arithmetic in I/O Event-handler

GHC ghc-devs at haskell.org
Fri Oct 6 16:43:44 UTC 2017


#12999: Investigate use of floating-point arithmetic in I/O Event-handler
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nh2):

 Commit
 http://github.com/ghc/ghc/commit/ab2dcb1c474d918efdc875f3cca7ef5b6ebdce1a
 exports `getMonotonicTimeNSec :: IO Word64` so it can be used directly
 without conversion, and uses it to fix some PSQ timeout code.

 It updated the code mentioned in the issue description.

 Please take another look if this bug is fixed now.

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


More information about the ghc-tickets mailing list