【理论】进程线程小记录([theory] process thread small record)
1. What is suspend?
In the operating system, a suspended process can be defined as a process that is temporarily eliminated from the memory. The resources of the machine are limited. When the resources are insufficient, the operating system makes reasonable arrangements for the programs in the memory. Some processes are temporarily transferred out of the memory. When conditions permit, they will be transferred back to the memory by the operating system and re-enter the state waiting to be executed, that is, the ready state, The system has no action for more than a certain time.