[GHC] #4956: threadDelay behavior 64-bit mac os x

GHC cvs-ghc at haskell.org
Sat Mar 5 20:44:55 CET 2011


#4956: threadDelay behavior 64-bit mac os x
-------------------------------+--------------------------------------------
    Reporter:  perikov         |        Owner:                             
        Type:  bug             |       Status:  new                        
    Priority:  normal          |    Milestone:                             
   Component:  Compiler        |      Version:  7.0.1                      
    Keywords:  threadDelay     |     Testcase:                             
   Blockedby:                  |   Difficulty:                             
          Os:  MacOS X         |     Blocking:                             
Architecture:  x86_64 (amd64)  |      Failure:  Incorrect result at runtime
-------------------------------+--------------------------------------------
Description changed by igloo:

Old description:

> threadDelay 1000000
>
> works as expected in 7.0.1-x86_64
> return immediately in DEVELOPMENT 7.1.20110131
> hangs eating CPU in STABLE 7.0.1.20110201, 7.0.1.20110211
>
> to reproduce:
> fire up ghci
>
> import Control.Concurrent
> threadDelay 1000000

New description:

 threadDelay 1000000

 {{{
 works as expected in 7.0.1-x86_64
 return immediately in DEVELOPMENT 7.1.20110131
 hangs eating CPU in STABLE 7.0.1.20110201, 7.0.1.20110211
 }}}

 to reproduce:
 fire up ghci
 {{{
 import Control.Concurrent
 threadDelay 1000000
 }}}

--

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



More information about the Glasgow-haskell-bugs mailing list