[理工] 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