Thursday 19 June 2014

Process Control


Process State


As the process proceeds it changes sates. The state of a process is define by the current activity of that process.
Each process may be in one of the following state.
· 



        New  -
A process that has just been created but has not admitted to the pool of executable process by the operating system. A new process is not lodes into main memory.

·       Ready
                                                A process that prepare to execute when assigned the processor.

·       Running
                                                A process that is currently being executed.in a single processor system at most one processor can be in this state at a time.
·       Waiting/Blocked
                                                The process is waiting for some event to occur. Such as an I/O completion or (reception of a signal). A process is waiting/blocked state cannot be execute until the desired event occurs.
·       Terminated /Exit
                                                                A process that has been released from the pool of executable process by the operating system either because it has finished execution or because it has halted for some reason.


No comments: