Operating Systems Process Termination(2) g Process executes last statement and asks the operating system to decide it(exit). H Process'resources are deallocated(再分配) by operating system e Parent may terminate execution of children processes (abort). a Child has exceeded allocated resources.超量分配资源 Task assigned to child is no longer required H Parent is exiting. Operating system does not allow child to continue if its parent terminates Cascading termination.级联终止 Gao Haichang, Software School, Xidian University 10Operating Systems Gao Haichang , Software School, Xidian University 10 Process Termination (2) Process executes last statement and asks the operating system to decide it (exit). Process’ resources are deallocated (再分配) by operating system. Parent may terminate execution of children processes (abort). Child has exceeded allocated resources. 超量分配资源 Task assigned to child is no longer required. Parent is exiting. ➢ Operating system does not allow child to continue if its parent terminates. ➢ Cascading termination. 级联终止