
#8189: Default to infinite stack size? -------------------------------+------------------------------------------- Reporter: nh2 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 7.6.3 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 hour) Unknown/Multiple | Blocked By: Type of failure: Runtime | Related Tickets: crash | Test Case: | Blocking: | -------------------------------+------------------------------------------- Comment (by ezyang): I'm a little late to the review party, but can we change the interface of allocateFail so that it returns only result type, and the allocated pointer is returned via an argument; i.e. use it like: {{{ allocateFail(Capability, W_, StgPtr*); StgPtr p; if (allocateFail(cap, n, &p)) { // allocation failed } else { // allocation ok; p points to memory } }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8189#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler