Question
Which system call allows a parent process to suspend until a child terminates or changes state?
Select an option. Your answer will be checked instantly.
Correct Answer: C. wait()
Explanation:
wait() lets a parent collect a child's termination status and synchronize with the child's completion.
Without it, a completed child may remain as a zombie until its status is collected.
Leave a Reply