Monday 27 February 2012

Process Termination


  • Process executes last statement and asks the operating system to decide it (exit).
  1. Output data from child to parent (via wait).
  2. Process’ resources are deallocated by operating system.
  • Parent may terminate execution of children processes (abort).
  1. Child has exceeded allocated resources.
  2. Task assigned to child is no longer required.
  3. Parent is exiting.
* Operating system does not allow child to continue if its parent terminates.
Cascading termination.

No comments:

Post a Comment