ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2017329621057-黄彦杰 >
Homework - 2 Version 0
👤 Author: by 244045932qqcom 2019-09-19 01:22:12

Describe the life circle of process


When a process is created, it is in a New state.

Then if it is admitted to be assigned to CPU, it enters the Ready state.

Once CPU is available, the scheduler will dispatch the process to CPU. This is the Running state.

A this moment, a interrupt could make the process return to Ready state.

Or the process itself invoking I/O or other events, it's the Waiting state. When I/O or event required is complete, the process returns to Ready state.

If nothing else while Running, the process finished execution, changing to Terminated state.

Why each process must have one PCB


PCB contains all the infomation that a process will need for Process Scheduling. Without a PCB, process management will be difficult and inefficient.

Please login to reply. Login

Reversion History

Loading...
No reversions found.