Found via -Wpedantic
thread name is good for both profiling and debuging also htop can turn on the option 'Show custom thread names' in 'Display options' the warning in example is ‘pthread_self’ [-Wimplicit-function-declaration]