[理工] OS同步問題
[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
01/19 19:51, 1F
→
01/19 22:44, , 2F
01/19 22:44, 2F
推
01/19 23:30, , 3F
01/19 23:30, 3F
→
01/20 08:33, , 4F
01/20 08:33, 4F