Monday, December 19, 2011

Process State

Process State:-for a program to be executed, a process, or task, is created for that program.As a process executes, it changes state. The state of a process is defined in part by the current activity of that process.dispatcher program that switches the processor from one process to another.

 Each process may be in one of the following states:--
*New: The process is being created.
*Running: Instructions are being executed.
*Waiting: The process is waiting for some event to occur (such as an I/O completion or reception of a signal).
*Ready: The process is waiting to be assigned to a processor.
*Terminated: The process has finished execution.
Process state Diagram


No comments:

Post a Comment