[理工] OS Process state相關考題
各位晚安
最近在修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
不知道這樣寫對不對!?
--
→
11/28 23:20,
11/28 23:20
→
11/28 23:31,
11/28 23:31
→
11/28 23:32,
11/28 23:32
→
11/28 23:33,
11/28 23:33
→
11/28 23:33,
11/28 23:33
→
11/28 23:35,
11/28 23:35
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.19.242
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1460893413.A.57F.html
→
04/17 23:29, , 1F
04/17 23:29, 1F
推
04/18 01:19, , 2F
04/18 01:19, 2F
→
04/18 09:43, , 3F
04/18 09:43, 3F
→
04/18 09:43, , 4F
04/18 09:43, 4F