Question: Is it possible for a parent process to wait for the termination of his child process and then to continue working on his own task?
Is it possible for a parent process to wait for the termination of his child process and then to continue working on his own task? How can it be done using threads where a thread could be bound to wait for the termination of another thread and then continue working on his task. Write a piece of code to demonstrate both these cases in a single program.
Question is related to system Programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
