看板 Grad-ProbAsk 關於我們 聯絡資訊
Consider a system with three resource types with the vector Available initialized to (7,2,6). Suppose at time T0,process A has the resource vector of (0,1,2),process B has the resource vector of (2,0,0),and process C has the resource vector of (3,0,3). If process A requests for extra resource vector of (3,0,0), if is blocked since not enough resource available for allocation. Which necessary condition cannot occur for not entering deadlock state? (A)process B asks for extra (0,1,1) and process C asks for extra (4,0,0) (B)process B asks for extra (0,1,1) and process C asks for extra (0,0,1) (C)process B asks for extra (4,1,2) and process C asks for extra (0,0,1) (D)process B asks for extra (5,2,5) and process C asks for extra (2,1,0) (E)none of the above 洪兔的題庫書答案是(E) 可是有點不大懂它題目在問什麼? 困惑的點在於沒有給needi 麻煩看懂得大大稍微解釋一下 感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.105.52.42
dogalan:你題目第二行T0,後面有少打嗎? 02/02 11:40
dogalan:如果那邊是process B has the resource vector of (2,0,0) 02/02 11:43
dogalan:那就比較好懂了... 02/02 11:44
恩,不好意思,我少打了,已補上 ※ 編輯: justbelieve 來自: 112.105.52.42 (02/02 13:23)