]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tinfo: add the tgid to the thread_info struct
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Jun 2022 08:49:57 +0000 (10:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit66ad98a772047121f2687fb5ce0c432e88d9b2d9
tree9c7e05feaa174f2e1610408d682cdd89cc404218
parente7475c8e793f335bb61c2db4eedc30416321b9e2
MINOR: tinfo: add the tgid to the thread_info struct

At several places we're dereferencing the thread group just to catch
the group number, and this will become even more required once we start
to use per-group contexts. Let's just add the tgid in the thread_info
struct to make this easier.
include/haproxy/thread.h
include/haproxy/tinfo-t.h
src/debug.c
src/thread.c