[GHC] #5680: Main thread does not respect stack size RTS options
GHC
cvs-ghc at haskell.org
Tue Dec 6 10:31:44 CET 2011
#5680: Main thread does not respect stack size RTS options
---------------------------------+------------------------------------------
Reporter: ravi_n | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Comment(by simonmar):
It's true that the main thread doesn't respect the `+RTS -ki` setting, but
I wonder whether you really want to do that. You said "so that I could
give a large stack to some foreign code I was calling", which suggests a
misunderstanding: the Haskell stack is not the same as the C stack, and
any changes to make to the size of the Haskell stack will have no effect
on foreign code.
Could you explain the original problem you're trying to solve by changing
the stack size?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5680#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list