2014329600026吴宪 (28.218.81608.81609.81613.222.81848.82060)

1)运行状态(Running):进程占用处理器资源;处于此状态的进程的数目小于等于处理器的数目。在没有其他进程可以执行时(如所有进程都在阻塞状态),通常会自动执行系统的空闲进程。 2)就绪状态(Ready):进程已获得除处理器外的所需资源,等待分配处理器资源;只要分配了处理器进程就可执行。就绪进程可以按多个优先级来划分队列。例如,当一个进程由于时间片用完而进入就绪状态时,排入低优先级队列;当进程由I/O操作完成而进入就绪状态时,排入高优先级队列。 3)阻塞状态(Blocked):当进程由于等待I/O操作或进程同步等条件而暂停运行时,它处于阻塞状态。 4)创建状态(New):进程正在创建过程中,还不能运行。操作系统在创建状态要进行的工作包括分配和建立进程控制块表项、建立资源表格(如打开文件表)并分配资源、加载程序并建立地址空间表等。 5)退出状态(Exit):进程已结束运行,回收除进程控制块之外的其他资源,并让其他进程从进程控制块中收集有关信息(如记帐和将退出代码传递给原进程)。 (1) Running: the process takes up the processor resources; the number of processes in this state is less than the number of processors. In the absence of other processes that can be performed ,the idle process of the system is automatically executed. (2) Ready: the process has been obtained in addition to the processor outside the required resources, waiting for the allocation of processor resources; as long as the allocation of the processor process can be executed. The ready process can be divided by multiple priorities. For example, when a process enters a ready state due to a time slice, it is discharged into a low priority queue; when the process is completed by the I / O operation, the high priority queue is discharged into the ready state. (3) Blocked: when the process is suspended due to wait for I/O operation or process synchronization, it is in a blocking state (4) create state : the process is creating the process, you can not run. Operating system in the creation of the state to be carried out including the allocation and the establishment of the process control block table entry, the establishment of a resource table and allocate resources, loading procedures and the establishment of the address space table 5) Exit: the process has finished running, in addition to other resources recycling process control block outside, and let the other process to collect relevant information from the process control block

group status

👤 group joined: 0 ⏳ group pending: 0 🚫 group blocked: 0

Sub Domains (0)