[理工] OS同步問題

看板Grad-ProbAsk作者 (BLACK)時間12年前 (2012/01/19 18:56), 編輯推噓1(103)
留言4則, 2人參與, 最新討論串1/1
[100交大資工] which of following statements are correct? a)spinlock are appropriate for uni-processor system b)The critical section problem could be solved by disable interrupts while accessing a share variable in a uni-processor environment. c)Priority inheritance protocals can reslove race conditons in real times. d)A nonpreemptive kernel is free from race conditions on kernel data structures. e)The current Linux kernel is a nonpreemptive kernel and a process running in a kernel mode could not be preempted. 答案是 B D 我想問的是 E D選項為什麼是正確的? 看不太懂 D 及 E選項的意思 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.46.154.252

01/19 19:51, , 1F
free的意思就是 "沒有" 這樣D你應該就懂了吧
01/19 19:51, 1F

01/19 22:44, , 2F
不好意思 還是不太懂 題目的意思@@''英文不太好
01/19 22:44, 2F

01/19 23:30, , 3F
一個 不能插隊的kernel 不會有race condition
01/19 23:30, 3F

01/20 08:33, , 4F
感謝 我懂了
01/20 08:33, 4F
文章代碼(AID): #1F5_RiX7 (Grad-ProbAsk)