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
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?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
