Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S shimmy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • shimmy
  • Issues
  • #66

Closed
Open
Created May 31, 2018 by Emily@emily🤖

getconf(1) might want to support glibc specific _NPROCESSORS_ONLN

Bugzilla ID 66
Reporter A. Wilcox (awilfox)
Assignee A. Wilcox (awilfox)
Reported 2018-05-30 23:10:17 -0500
Modified 2019-01-09 11:53:26 -0600
Status RESOLVED FIXED
Version 0.3
Hardware Adélie Linux / All
Importance Normal / trivial
URL https://code.foxkit.us/adelie/shimmy/commit/e9de57c22ec7de6c148bab3fefa54584a6039ab8

Description

Some build systems (at least strace and glib) seem to decide number of concurrent jobs based on a glibc-specific getconf(1) variable, _NPROCESSORS_ONLN.

It would be useful if we could emulate this. I don't think it is so hard to determine the number of current CPUs from C in Linux. Let's investigate.

Assignee
Assign to
Time tracking