techfortalk.co.uk
Why do we need pthread_join?
In simple words pthread_join makes the calling thread wait till the newly created thread returns.