Spawning Process Termination In Operating System

Explain Spawning, Process Termination  In Brief. What Is Spawning, What Is Process Transmission Explain

In This Topic & Blog Having Any Query Then Post your Comment and Suggestion Below

Spawning

A process creating a new process is named as
the parent, while the creating process is called
the child. The method of creating a new process
is said to be “spawning process “ . A child
process could itself spawn a process, resulting in
a tree of process, such creation yields a
“Hierarchies process structure “.

Process Termination

– The process terminate from the running state
include so many causes. Generally the process
terminates when execution finished.
– Some other cause are :
• Time slot expired
• Memory violation
• I/O failure
• Parent termination
• Parent request
• Invalid instruction

– Time slot expired : when the process execution does not
completed within the “Time quantum” then the process
terminated from the running state. The CPU picks the
next job in the ready queue to execute.
– Memory boundary violation : If a process need more
memory than the available memory then the process
terminated from running state.
– I/O Failure : A process need an I/O operation at the
time of execution but the I/O device is not available at
that time. Then the process moved into waiting state.
The operating system does not provide the I/O device,
even the process reside in waiting state then the process
terminated.
– Parent Termination : When the “Parent Process”
terminated, the child process also terminated
automatically. The parent process has authority to
terminate any of its child.
– Parent request : If the parent process request the child
process about the termination, then the child process
about the termination, then the child process
terminated automatically.
– Invalid Instruction : If a process having illegal
instructions and the CPU failed to executed those
instructions. Then the process terminated.


Labels: