[GHC] #7299: threadDelay broken in ghci, Mac OS X
GHC
cvs-ghc at haskell.org
Sat Nov 17 01:35:26 CET 2012
#7299: threadDelay broken in ghci, Mac OS X
---------------------------------+------------------------------------------
Reporter: tmcdonell | Owner: igloo
Type: bug | Status: new
Priority: highest | Milestone: 7.6.2
Component: GHCi | Version: 7.6.1
Keywords: | Os: MacOS X
Architecture: Unknown/Multiple | Failure: GHCi crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by tmcdonell):
Replying to [comment:3 joeyadams]:
> What happens if you compile with `-threaded` ? ghci uses the threaded
RTS. Compiling with `ghc`, by default, does not use the threaded RTS.
`threadDelay` follows a much different code path with `-threaded` than
without.
Works fine compiled with "ghc -threaded", both i386 and x86_64 on 7.6.1.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7299#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list