Search for question
Question

What does pthread_join(pthread_t thread, void **value_ptr) do? What could happen in a multithreaded application if the main thread exits using exit(0) without running pthread_join for each thread, assuming the OS is Linux?