作者bernachom (Terry)
看板Grad-ProbAsk
標題[問題] OS-deadlock..
時間Sat Apr 4 01:58:04 2009
請教一個問題
Which of the following statements about synchroniztion is incorrent?
其中一個選項是
If the conditions of mutual exclusion ,hold and wait, no preemption, and
circular wait hold simultaneously in the system,a deadlock situation will
arise.
四個條件都滿足了,可是是在同步的系統下,那這樣子還會發生嗎?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.99.244
1F:推 dar23:只是必要條件應該不會 04/04 13:17
2F:→ bernachom:可是...那在同步系統中不會發生死結原因是什麼呢? 04/04 15:45
3F:→ godiva82:上述四個是死結的成立的必要條件,打破其中一個,就可以 04/04 21:54
4F:→ godiva82:預防死結,四個都滿足表有死結~ 04/04 21:55
5F:→ bernachom:所以這有死結嚕? 04/04 22:20