MINOR: debug: split ha_thread_dump() in two parts
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 11:45:57 +0000 (13:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:54:53 +0000 (15:54 +0200)
commit534db5cd0a8a87574a91162d6440979c1b35a336
tree833445ac601cb7f48689f45638abd00f3b2b41ec
parentafcac79f35f0310c7f19903a09b10511b691d2f3
MINOR: debug: split ha_thread_dump() in two parts

We want to have a function to trigger the dump and another one to wait
for it to be completed. This will be important to permit panic dumps to
be done on local threads. For now this does not change anything, as the
function still calls the two new functions one after the other.

(cherry picked from commit 2036f5bba1637c8dad3eca577aa3bed4cc53caaf)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/debug.c