]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: threads: Fiw build when using no thread
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 8 Jun 2026 00:07:03 +0000 (02:07 +0200)
committerOlivier Houchard <cognet@ci0.org>
Sun, 7 Jun 2026 23:16:49 +0000 (01:16 +0200)
commit45a64123d60e3ad4b59ba1664b260f8a7f3eea7a
treec882988e8efac71fb2ee48ef8c5f13d60658ee58
parentac776e3819f9fa54e2a005469e5a423a3d179543
BUG/MEDIUM: threads: Fiw build when using no thread

In thread_detect_count(), avoid any usage of thread_cpu_enable_at_boot
if we're building without thread support. That variable is only defined
when building with threads, and those tests make little sense when
building with no thread, anyway.
This was submitted by: ririnto <ririnto@kakao.com>
This should fix github issue #3408.
This should be backported to 3.4.
src/thread.c