[GHC] #7325: threadDelay mistreats minBound and maxBound in some configurations

GHC ghc-devs at haskell.org
Fri Dec 16 03:19:10 UTC 2016


#7325: threadDelay mistreats minBound and maxBound in some configurations
-------------------------------------+-------------------------------------
        Reporter:  joeyadams         |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.2.1
       Component:  Runtime System    |              Version:  7.6.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Incorrect result  |            Test Case:
  at runtime                         |  base/tests/T8089
      Blocked By:                    |             Blocking:
 Related Tickets:  #9722             |  Differential Rev(s):  Phab:D2861
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => patch
 * differential:   => Phab:D2861


Comment:

 `threadDelay minBound` no longer appears to block on Windows. However,
 `threadDelay maxBound` returns immediately. See Phab:D2861 for a fix.

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


More information about the ghc-tickets mailing list