nproc: Refactor large function.
commita59926b805d7708b2ecc5fdcd7743810e963e859
authorBruno Haible <bruno@clisp.org>
Sun, 26 Feb 2017 17:05:12 +0000 (26 18:05 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 26 Feb 2017 17:05:12 +0000 (26 18:05 +0100)
tree260cf9c68b522901bd9080f9915a5ad9bcc72267
parent0481ab52033694e1c137d4911f4d025a186d1a2a
nproc: Refactor large function.

* lib/nproc.c (num_processors_ignoring_omp): New function, extracted
from num_processors.
(num_processors): In this function, only deal with OMP.
ChangeLog
lib/nproc.c