[問題] OS-deadlock..

看板Grad-ProbAsk作者 (Terry)時間17年前 (2009/04/04 01:58), 編輯推噓1(104)
留言5則, 3人參與, 最新討論串1/1
請教一個問題 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

04/04 13:17, , 1F
只是必要條件應該不會
04/04 13:17, 1F

04/04 15:45, , 2F
可是...那在同步系統中不會發生死結原因是什麼呢?
04/04 15:45, 2F

04/04 21:54, , 3F
上述四個是死結的成立的必要條件,打破其中一個,就可以
04/04 21:54, 3F

04/04 21:55, , 4F
預防死結,四個都滿足表有死結~
04/04 21:55, 4F

04/04 22:20, , 5F
所以這有死結嚕?
04/04 22:20, 5F
文章代碼(AID): #19raujYx (Grad-ProbAsk)