# HG changeset patch # User Markus Mützel # Date 1660203489 -7200 # Node ID 932e43d948a692fa7ba30eccdd39f48a01f34e22 # Parent c6c4c6f041705d1a86a8255f0541aeb708b6fe91# Parent e217b44187a207bd576b7a687756ee6006871afc maint: Merge stable to default. diff -r c6c4c6f04170 -r 932e43d948a6 libinterp/corefcn/nproc.cc --- a/libinterp/corefcn/nproc.cc Wed Aug 10 22:24:58 2022 +0200 +++ b/libinterp/corefcn/nproc.cc Thu Aug 11 09:38:09 2022 +0200 @@ -38,7 +38,10 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{n} =} nproc () @deftypefnx {} {@var{n} =} nproc (@var{query}) -Return the current number of available processors. +Return the current number of available (logical) processors. + +This returns the number of logical processors. For processors with +hyperthreading, this is larger than the number of physical cores. If called with the optional argument @var{query}, modify how processors are counted as follows: