Re: [GHC] #1733: RTS option -N not exposed at Haskell level
#1733: RTS option -N not exposed at Haskell level ---+ Reporter: [EMAIL PROTECTED] |Owner: igloo Type: merge | Status: closed Priority: normal |Milestone: 6.8.1 Component: libraries/base | Version: 6.6.1 Severity: normal | Resolution: fixed Keywords: | Difficulty: Easy (1 hr) Os: Unknown | Testcase: Architecture: Unknown | ---+ Changes (by igloo): * status: new = closed * resolution: = fixed Comment: Both merged -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1733#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1733: RTS option -N not exposed at Haskell level
#1733: RTS option -N not exposed at Haskell level ---+ Reporter: [EMAIL PROTECTED] |Owner: igloo Type: merge | Status: new Priority: normal |Milestone: 6.8.1 Component: libraries/base | Version: 6.6.1 Severity: normal | Resolution: Keywords: | Difficulty: Easy (1 hr) Os: Unknown | Testcase: Architecture: Unknown | ---+ Changes (by simonmar): * owner: simonmar = igloo * type: bug = merge * milestone: 6.8 branch = 6.8.1 Comment: Fixed. Patch to GHC: {{{ Tue Oct 9 15:27:01 BST 2007 Simon Marlow [EMAIL PROTECTED] * export n_capabilities, see #1733 }}} Patch to `libraries\base`: {{{ Tue Oct 9 14:20:42 BST 2007 Simon Marlow [EMAIL PROTECTED] * expose the value of +RTS -N as GHC.Conc.numCapabilities (see #1733) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1733#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1733: RTS option -N not exposed at Haskell level
#1733: RTS option -N not exposed at Haskell level ---+ Reporter: [EMAIL PROTECTED] |Owner: Type: bug | Status: new Priority: normal |Milestone: Component: Compiler| Version: 6.6.1 Severity: normal | Resolution: Keywords: | Difficulty: Easy (1 hr) Os: Unknown | Testcase: Architecture: Unknown | ---+ Comment (by guest): I need to use -N''k'' so I can use more than one core. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1733#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1733: RTS option -N not exposed at Haskell level
#1733: RTS option -N not exposed at Haskell level ---+ Reporter: [EMAIL PROTECTED] |Owner: simonmar Type: bug | Status: new Priority: normal |Milestone: 6.8 branch Component: libraries/base | Version: 6.6.1 Severity: normal | Resolution: Keywords: | Difficulty: Easy (1 hr) Os: Unknown | Testcase: Architecture: Unknown | ---+ Changes (by simonmar): * owner: = simonmar * component: Compiler = libraries/base * milestone: = 6.8 branch Comment: btw, this works: {{{ {-# LANGUAGE ForeignFunctionInterface #-} import Foreign import Foreign.C foreign import ccall n_capabilities n_capabilities :: Ptr CInt main = do n - peek n_capabilities; print n }}} there might be time to sneak something into 6.8.1, we'll see. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1733#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs