]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: make ha_stuck_warning() only work for the current thread
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2025 06:54:43 +0000 (08:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2025 14:25:47 +0000 (16:25 +0200)
commitc16d5415a807f5a46d34ee6aac4c35fd42dac0c0
tree76feaf7aeb51201ce3c2d1c4c9efd87a93e77bc5
parenta06c215f08703b2a2e303b2e23816d4ad09748f0
MINOR: debug: make ha_stuck_warning() only work for the current thread

Since we no longer call it with a foreign thread, let's simplify its code
and get rid of the special cases that were relying on ha_thread_dump_fill()
and synchronization with a remote thread. We're not only dumping the
current thread so ha_thread_dump_one() is sufficient.
include/haproxy/debug.h
src/debug.c
src/wdt.c