]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: make ha_thread_dump_done() take the pointer to be used
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 12:52:35 +0000 (14:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:42:07 +0000 (15:42 +0200)
commitd7c34ba479f79ed42c709c64679b4e3d1310cddd
tree7d27bb7c6d28675d45b2f08fec0fde36582e8094
parent091de0f9b2553463660a11c56598c4970d6b1066
MINOR: debug: make ha_thread_dump_done() take the pointer to be used

This will allow the caller to decide whether to definitely clear the
pointer and release the thread, or to leave it unlocked so that it's
easy to analyse from the struct (the goal will be to use that in panic()
so that cores are easy to analyse).
src/debug.c