[GHC] #8594: sysctl name "hw.ncpu" (HW_NCPU) is deprecated in Mac OS X

GHC ghc-devs at haskell.org
Tue Nov 18 01:21:50 UTC 2014


#8594: sysctl name "hw.ncpu" (HW_NCPU) is deprecated in Mac OS X
-------------------------------------+-------------------------------------
              Reporter:  kseo        |            Owner:  simonmar
                  Type:  task        |           Status:  infoneeded
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Runtime     |          Version:  7.6.3
  System                             |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  MacOS X     |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by thomie):

 [https://hg.python.org/cpython/file/1855b5c3da61/Modules/posixmodule.c#l16074
 Python]  (warning: big file) uses
 [https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/sysconf.3.html
 _SC_NPROCESSORS_ONLN]. "The number of processors currently online".
 Whatever that means.

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


More information about the ghc-tickets mailing list