]> git.kaiwu.me - haproxy.git/commit
MINOR: thread: rely on the cpuset functions to count bound CPUs
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Jul 2023 15:03:09 +0000 (17:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commit05a4efb1028fab549b4f5b237187e95a703eb9a7
treee607c9e03f8bb112fed095b30802c935659b5e0f
parent32bb68e73669c06f7957066eafdd5adfbfc6fb4f
MINOR: thread: rely on the cpuset functions to count bound CPUs

let's just clean up the thread_cpus_enabled() code a little bit
by removing the OS-specific code and rely on ha_cpuset_detect_bound()
instead. On macos we continue to use sysconf() for now.
src/thread.c