[GHC] #11615: ghci -threaded

GHC ghc-devs at haskell.org
Sat Feb 20 19:45:55 UTC 2016


#11615: ghci -threaded
-------------------------------------+-------------------------------------
        Reporter:  franz             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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 franz):

 You are correct, the given command returns a string which contains "hr".

 I have a function "f" that should run on multiple threads. A compiled
 program (using "ghc -threaded") containing "main = f" runs multithreaded,
 like I want to.

 When I however start "ghci +RTS -N" and than manually run "f", the program
 runs only on one thread. Mh. Any ideas?

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


More information about the ghc-tickets mailing list