![]() From the ready state, the process reaches the running state.įinally, when a process has finished its execution or may be aborted by the user for some reason, it goes to the termination stage. When the CPU becomes free again, the process goes to the ready state. In such cases, the process moves to the waiting stage. Instead, it may wait for the completion of some I/O operations, or synchronization signal, etc. If a process is in the running state, then it’s currently being executed in the CPU.Īfter completing the execution in the CPU, a process may not goes to the termination stage. Process state: Each and every process has some states associated with it at a particular instant of time. When the CPU becomes free, the process moves into the CPU for further execution. Some of the attributes of a Process are: Process Id: Every process will be given an id called Process Id to uniquely identify that process from the other processes. ![]() When a process is in the main memory and waiting for the CPU, it’s in the ready state. ![]() As soon as the process moves into the main memory, it changes the state from start to ready. The program is in the dispatcher and waiting to be moved into the main memory. The start or new state represents that the process is just being created. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |