diff options
author | Luke Childs <lukechilds123@gmail.com> | 2017-10-18 12:30:19 +0700 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-10-18 11:14:12 +0300 |
commit | 19ab26189ea6ab91a943042f32f40558c6edb67a (patch) | |
tree | 3b57f3a5daeb1ca57ee448b96c7172171dd84f57 /src | |
parent | 9be3d99b2b94d8a08b5a36efb06f3a6fd196805a (diff) | |
download | android-node-v8-19ab26189ea6ab91a943042f32f40558c6edb67a.tar.gz android-node-v8-19ab26189ea6ab91a943042f32f40558c6edb67a.tar.bz2 android-node-v8-19ab26189ea6ab91a943042f32f40558c6edb67a.zip |
doc: clarify os.cpus() returns logical CPU cores
Original text implied it returns physical cpu cores. This is misleading
as `os.cpus().length` is often used to get the CPU core count in
Node.js. In reality that will return the thread count which may not be
what the user intended.
PR-URL: https://github.com/nodejs/node/pull/16282
Fixes: https://github.com/nodejs/node/issues/16279
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions