]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: slightly change the thread_dump_pointer signification
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 11:53:39 +0000 (13:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:42:07 +0000 (15:42 +0200)
commit091de0f9b2553463660a11c56598c4970d6b1066
tree9268fd544e5bea4fdbf6cb8998e21b98a8815799
parent2036f5bba1637c8dad3eca577aa3bed4cc53caaf
MINOR: debug: slightly change the thread_dump_pointer signification

Now the thread_dump_pointer is returned ORed with 1 once done, or NULL
when cancelled (for now noone cancels). The goal will be to permit
the callee to provide its own pointer.

The ha_thread_dump_fill() function now returns the buffer pointer that
was used (without OR 1) or NULL, for ease of use from the caller.
src/debug.c