Two State Process Model

Two state process model refers to running and non-running states which are described below.

S.N. State & Description
1 RunningWhen new process is created by Operating System that process enters into the system as in the running state.
2 Not RunningProcesses that are not running are kept in queue, waiting for their turn to execute. Each entry in the queue is a pointer to a particular process. Queue is implemented by using linked list. Use of dispatcher is as follows. When a process is interrupted, that process is transferred in the waiting queue. If the process has completed or aborted, the process is discarded. In either case, the dispatcher then selects a process from the queue to execute.

results matching ""

    No results matching ""