The conversion process between the three states

1, ready -> execution

When the process scheduler whom allocated to the processor, the process will be changed from a ready state to perform state;

2. Execution -> Ready

The process of being executed in its execution process, due to its assigned time slice has been exhausted and had to give up the processor, so the process of transition from a state to a ready state execution;

3. Execution -> obstruction

When the process is being executed waiting for something to happen and pieces can not continue, it will become blocked by the state execution state;

4, blocking -> Ready

The process is blocked, and if it waits for the event has occurred, so the process of transition from the blocking state to the ready state;

 

15:38:2215:38:24

Guess you like

Origin www.cnblogs.com/lzf16204218/p/11613048.html