【发布时间】:2018-03-03 09:29:57
【问题描述】:
据我所知,必须验证某些条件才能使进程继续运行。如果它们没有得到确认,处理器会阻止该过程,以免浪费时间。验证这些条件后,进程进入ready state。
然而,我在《现代操作系统 Andrew Tanenbaum》一书中遇到了这样一句话:There are two types of processes which are system processes and user processes. If processor takes a disk interrupt when it executes a user application, the system makes a decision to stop running the current process, and starts to run disk process. In this case, application process is kept in blocked state. After the disk is read or anything is written on the disk, the process waiting for it is unblocked.
我知道只有在未验证要求或条件的情况下才会阻止进程。但是,我想这句话试图说磁盘进程具有更高的优先级,这就是应用程序进程被阻塞的原因。优先级是阻止任何进程的因素吗?
【问题讨论】: