]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tinfo: replace the tgid with tgid_bit in tgroup_info
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Jun 2022 15:48:07 +0000 (17:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit60fe4a95a2ebcd3048940a0689f80656ec247764
tree30ce490451b5f3eee7ff9b72b63ac8f543498b62
parent66ad98a772047121f2687fb5ce0c432e88d9b2d9
MINOR: tinfo: replace the tgid with tgid_bit in tgroup_info

Now that the tgid is accessible from the thread, it's pointless to have
it in the group, and it was only set but never used. However we'll soon
frequently need the mask corresponding to the group ID and the risk of
getting it wrong with the +1 or to shift 1 instead of 1UL is important,
so let's store the tgid_bit there.
include/haproxy/tinfo-t.h
src/thread.c