without the wait the 40 tasks will not have time to complete
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]