]> git.kaiwu.me - haproxy.git/commit
BUILD: thread: fix builds without thread support
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 21 Oct 2026 14:55:49 +0000 (16:55 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 21 Oct 2026 14:42:31 +0000 (16:42 +0200)
commit3d689b4ca4c73d353ba5ae90ae37b1b912a8a8d1
tree41ed2da19d95aa08bf7a9712b671e1f82b40ef5e
parentd66d5d94fce5b2cc9294a2bbc9e79579fd94b5ce
BUILD: thread: fix builds without thread support

Commit 4312f13a2 ("OPTIM: fd: Make each thread group's FD table NUMA-local")
added an unconditional call to thread_bind_to_cpu_map() from init_pollers(),
but the helper is only defined with USE_THREAD. Building with TARGET=generic
thus fails with an implicit declaration and an undefined reference.

Add a no-op stub alongside the other non-threaded helpers.
include/haproxy/thread.h