]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: thread: use ltid_bit in ha_tkillall()
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Jun 2022 14:23:44 +0000 (16:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:15 +0000 (19:15 +0200)
commitc6cf64bb5ed0b87ca3db978a5dfcc3dd066c2865
tree9b81e5a2ebd424d5db059af02992ebfc7f8ff3c0
parent1e7f0d68b0b5f231260b6c766a64851fd4d73f90
MINOR: thread: use ltid_bit in ha_tkillall()

Since commit cc7a11ee3 ("MINOR: threads: set the tid, ltid and their bit
in thread_cfg") we ought not use (1UL << thr) to get the group mask for
thread <thr>, but (ha_thread_info[thr].ltid_bit). ha_tkillall() needs
this.
src/thread.c