commit | a2b8ed4b440786eefaf6f783a5a003c3f079126a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jul 01 17:11:03 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:26:35 2022 +0200 |
tree | 053819871368995b563532cd3d8f51a23d6212a1 | |
parent | 598cf3f22ee9a28950bb8078f150bc431f4623e3 [diff] |
MINOR: thread: add is_thread_harmless() to know if a thread already is harmless The harmless status is not re-entrant, so sometimes for signal handling it can be useful to know if we're already harmless or not. Let's add a function doing that, and make the debugger use it instead of manipulating the harmless mask.