]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: thread/sched: move the thread_info flags to the thread_ctx
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Sep 2021 16:48:37 +0000 (18:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commita0b99536c83e41b8419b1f8d7e14521a6020a92c
tree7db552b5ed9a916479e6e5a676a9535d683936f5
parent45c38e22bfd073fec58a743be16adb8b3ec1b10f
REORG: thread/sched: move the thread_info flags to the thread_ctx

The TI_FL_STUCK flag is manipulated by the watchdog and scheduler
and describes the apparent life/death of a thread so it changes
all the time and it makes sense to move it to the thread's context
for an active thread.
include/haproxy/tinfo-t.h
src/debug.c
src/fd.c
src/listener.c
src/task.c
src/wdt.c