]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: haload: use <arg_thrd> instead of <global.nbthread> where applicable master
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Jul 2026 10:21:56 +0000 (12:21 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Jul 2026 10:21:56 +0000 (12:21 +0200)
commit30db9764d844977515a4a46d5e01f317f54c16f2
treee13eb20d249ace4993e5badca5788c1add2f94c6
parentbe66535ab904ed76d8c8165249ab0db5a570e359
CLEANUP: haload: use <arg_thrd> instead of <global.nbthread> where applicable

Replace references to <global.nbthread> with <arg_thrd> across loops,
memory allocations, and thread ID distributions. Having two variables
sharing the same value and meaning is confusing, so it is cleaner to
rely exclusively on <arg_thrd>.
src/haload.c