MINOR: threads: add the current group ID in thread-local "tgid" variable
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Sep 2021 06:00:11 +0000 (08:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commitb90935c9089a993c1bd0d5cd87dee61e19eb8dd2
tree70de4f98d22f499df3f45897f8c36c48e7ea8c5b
parent43ab05b3da3d1ec87b080903545d3f5eec1c96d0
MINOR: threads: add the current group ID in thread-local "tgid" variable

This is the equivalent of "tid" for ease of access. In the future if we
make th_cfg a pure thread-local array (not a pointer), it may make sense
to move it there.
include/haproxy/thread.h
src/thread.c