[理工] [OS] synchronization

看板Grad-ProbAsk作者 (Drinking)時間14年前 (2011/08/30 22:51), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串3/5 (看更多)
選擇題中的選項 True 1. wait and signal of a counting semaphore cannot be implemented with multiple binary semaphores. 這題是不是因為多了個multiple所以才錯呢~那請問為什麼 False 2. When a semaphore block a process,the process is moved to ready state block之後不是就把process放到waiting queue裡面嗎? 所以是ready state吧? False 3. 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: 111.251.243.73

08/31 00:06, , 1F
請問原PO的答案是學校公佈的嗎?
08/31 00:06, 1F

08/31 07:41, , 2F
答案我不確定是正確的,因為題目時從同學拿來的。
08/31 07:41, 2F
文章代碼(AID): #1ENFZqgn (Grad-ProbAsk)
文章代碼(AID): #1ENFZqgn (Grad-ProbAsk)