commit | 64e563351414f6bdcc9e9f8bc41a13c496ff8ecc | [log] [tgz] |
---|---|---|
author | David CARLIER <devnexen@gmail.com> | Fri Jan 15 08:09:56 2021 +0000 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Jan 26 10:06:00 2021 +0100 |
tree | 2a7e689906a911405c60beb586bbf54ba0fa598c | |
parent | 75ffbf98be972f2a5f32c2acddc00503c45e63ff [diff] |
BUG/MINOR: threads: Fixes the number of possible cpus report for Mac. There is no low level api to achieve same as Linux/FreeBSD, we rely on CPUs available. Without this, the number of threads is just 1 for Mac while having 8 cores in my M1. Backporting to 2.1 should be enough if that's possible. Signed-off-by: David CARLIER <devnexen@gmail.com> (cherry picked from commit 6a9060189d66ca931984706d5e2a970ed913f457) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>