Skip to content

Autodetect numer of cpu's #80

Description

@jonschipp

Need a portable way to detect number of cpu's to automatically configure cpu-set.
Tested getconf _NPROCESSORS_CONF on Linux and OSX. Without the underscore getconf NPROCESSORS_CONF returns number of processors on IllumnOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions