[GHC] #5773: main = forever (putStrLn =<< getLine) continuously saturates a CPU when compiled
GHC
cvs-ghc at haskell.org
Sun Jan 15 22:52:54 CET 2012
#5773: main = forever (putStrLn =<< getLine) continuously saturates a CPU when
compiled
-------------------------------+--------------------------------------------
Reporter: lpsmith | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.4.1
Component: Compiler | Version: 7.4.1-rc1
Keywords: | Os: Linux
Architecture: x86_64 (amd64) | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by igloo):
GHCi is linked with `-threaded` by default, which uses a different
implementation of this stuff.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5773#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list