[理工] OS Process state相关考题

楼主: dcpick2001 (*大君君*)   2016-04-17 19:43:22
各位晚安
最近在修OS时遇到一些不确定的题目
想请教版上各位高手
其中b、d、e 比较不确定
(最右边是我写的答案)
6. Show the state of a process:
(a) after it is selected by a long-term scheduler : ready
(b) before it is selected by a short-term scheduler: ready
(c) after it is selected by a short-term scheduler: running
(d) before it invokes a blocking system call: running
(e) after it invokes a blocking system call :waiting
(f) after the blocking system call is complete : ready
(g) after it is interrupted by a hardware interrupt: waiting
不知道这样写对不对!?
作者: jerry031181 (Jerry)   2016-04-17 23:29:00
abcdef OK g应该为ready
作者: odanaga (PixiyON)   2016-04-18 01:19:00
中断后不是都到ready吗
楼主: dcpick2001 (*大君君*)   2016-04-18 09:43:00
啊我误解题目意思了~我以为是这个process遇到了I/O 的情况

Links booklink

Contact Us: admin [ a t ] ucptt.com