pthread_join is like the wait() function when creating processes. It waits for a thread specified by thread to terminate. If the thread has already been terminated, it will immediately return. After a ...