#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
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to