-
-
Notifications
You must be signed in to change notification settings - Fork 38.8k
os.cpus() docs misleading #16279
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.osIssues and PRs related to the os subsystem.Issues and PRs related to the os subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.osIssues and PRs related to the os subsystem.Issues and PRs related to the os subsystem.
The docs for
os.cpus()state:It would be more accurate to use the word "threads" rather than "CPU/core". Not sure if this behaviour is intentional or due to how the OS reports cores. Either way, a note in the docs would be helpful to clarify this. Do you want a PR?
Example: