clang-tidy - bugprone-bad-signal-to-kill-thread — Extra Clang Tools 14.0.6 documentation

# Extra Clang Tools 14.0.6 documentation

## clang-tidy - bugprone-bad-signal-to-kill-thread

# bugprone-bad-signal-to-kill-thread

Finds `pthread_kill` function calls when a thread is terminated by raising `SIGTERM` signal and the signal kills the entire process, not just the individual thread. Use any signal except `SIGTERM`.

This check corresponds to the CERT C Coding Standard rule POS44-C. Do not use signals to terminate threads.