[GHC] #12685: getNumProcessors semantics dont match documentation

GHC ghc-devs at haskell.org
Tue Feb 6 09:13:39 UTC 2018


#12685: getNumProcessors semantics dont match documentation
-------------------------------------+-------------------------------------
        Reporter:  Llgn              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sighingnow):

 The function `getNumberOfProcessors` also used in rts to decide the number
 of capabilities.Should we update the documentation as "Returns the number
 of CPUs that **the runtime can use**" ?

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


More information about the ghc-tickets mailing list