std/os/index.zig: use "hw.logicalcpu" instead of "hw.ncpu" in macOS; (#1317)

Tracking Issue #1252 ;

hw.ncpu was deprecated in macOS. Among 4 new options available (hw.{physicalcpu, physicalcpu_max, logicalcpu, logicalcpu_max}), hw.logicalcpu was chosen because it actually reflects the number of logical cores the OS sees.
432b7685bfkristopher tate committed on 8/2/2018, 4:59:59 PM· committed by Andrew Kelleyparente66f538
1 file changedLine totals unavailable