]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sched: pass the thread number to is_sched_alive()
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Oct 2025 05:58:01 +0000 (07:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Oct 2025 08:18:53 +0000 (10:18 +0200)
commit25f5f357cc70d45ec63e5ba1f2954ba0a4c4dd00
tree1c581a12921e823fb0ff0cdac570a19758295454
parent7c7e17a6057652d6702c114ab6c4ba8cd301d54b
MINOR: sched: pass the thread number to is_sched_alive()

Now it will be possible to query any thread's scheduler state, not
only the current one. This aims at simplifying the watchdog checks
for reported threads. The operation is now a simple atomic xchg.
include/haproxy/task.h
src/task.c
src/wdt.c