ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2017329621034 郭诚 >
Homework 2 Version 0
👤 Author: by 157128166qqcom 2019-09-26 03:47:56
describe the life circle of process and  why each process must have one PCB.

A process is a dynamic entity,from creation to extinction,which is the entire life cycle of a process. Process possible


Will experience a variety of different states,generally there are three states.


Ready state: The process has obtained all other resources except cpu,waiting for cpu scheduling in the ready queue


Execution status: The cpu has been obtained and all required resources are running


blocking state (waiting state): The process abandons the processor or waits for the required resources


I dont own the processor,and other resources are not met.


State transition: When the process in the ready state gets cpu scheduling,it will become the execution state.


If you sleep or wait for a certain resource,it will become a wait state. If the time is up,the process will be heavy.


The new ready state is placed at the end of the ready queue,and the process waiting for the state gets resources other than cpu Will become ready


Process Contro1 B1ock (PCB)is a data structure used to record process status and other related information. PCB is the only sign of the existence of the process.



全文(Full Article): https://www.yvsou.com/archives/7824/post.html?groupid=28.218.81608.81609.81613.222.84998.331&pid=1323222&startgroup=

Please login to reply. Login

Reversion History

Loading...
No reversions found.