Then the sysctl with HW_NCPU will do, as will the sysconf() call.
—Reply to this email directly or view it on GitHub.