What is cascading termination in operating system?
Answers
Answered by
20
A process terminates when it finishes executing its final statement and asks the OS to delete it by using "exit" system call. A process can cause termination of another process through an appropriate system call. Usually, only the parent of the process that is to be terminated, can invoke such a system call.
When a process creates a new process, the identity of the newly created process is passed to its parent. When a parent process is terminating , then all of its children process is also terminated. This phenomena is known as "Cascading Termination" and is normally initiated by the operating system.
When a process creates a new process, the identity of the newly created process is passed to its parent. When a parent process is terminating , then all of its children process is also terminated. This phenomena is known as "Cascading Termination" and is normally initiated by the operating system.
Similar questions