]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tinfo: remove the global thread ID bit (tid_bit)
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Jun 2022 08:43:01 +0000 (10:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jun 2022 08:44:38 +0000 (10:44 +0200)
commit1a85a958dd619defb86810492db129e8cc74fd0c
tree490a21d59efddf788e92563348ca11e5cd1ee9a0
parent8716875ea49393540c81eafe50663e694a7313d7
MINOR: tinfo: remove the global thread ID bit (tid_bit)

Each thread has its own local thread id and its own global thread id,
in addition to the masks corresponding to each. Once the global thread
ID can go beyond 64 it will not be possible to have a global thread Id
bit anymore, so better start to remove it and use only the local one
from the struct thread_info.
include/haproxy/thread.h
include/haproxy/tinfo-t.h
src/thread.c