The code that follows is a POSIX application that makes use of threads. How will the race
Fantastic news! We've Found the answer you've been seeking!
Question:
The code that follows is a POSIX application that makes use of threads. How will the race problem be resolved if I modify the code to pthread_join(thread[i], NULL) after the status check that is performed inside the for() loop?
Please explain provide proof. Thanks
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: