]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tinfo: make thread_set functions return nth group/mask instead of first
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Feb 2023 10:27:38 +0000 (11:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Feb 2023 09:28:47 +0000 (10:28 +0100)
commit7b8aac443988345d4e6309aa9bf77e66f81e0b2c
treefe7e6d5f4385fc3b5acff8e02daa0e3e236d06fc
parentfea8c1911949692f3c5db6a840affa234a32a8b1
MINOR: tinfo: make thread_set functions return nth group/mask instead of first

thread_set_first_group() and thread_set_first_tmask() were modified
and renamed to instead return the number and mask of the nth group.
Passing zero continues to return the first one, but it will be more
convenient to use this way when building shards.
include/haproxy/tinfo.h
src/cfgparse.c
src/thread.c