討論串[理工] [OS] 97台大電機
共 5 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓3(3推 0噓 8→)留言11則,0人參與, 最新作者movo11 (Larry)時間13年前 (2013/01/07 21:01), 編輯資訊
0
0
0
內容預覽:
0 0 0 0 4 4 4 4 4 4. 1 1 1 1 0 0 0 0 0. 2 2 2 2 2 2 2 3. 3 3 3 3 1 1 1 (轉換過程) 1 1 1,0 0 1 1 1 1 1. 1 1,0 0 0 1 0 0 1. 1,0 0 0 0 1 1 1. --. 發信站: 批踢踢實

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者numin (nu)時間13年前 (2013/01/07 00:27), 編輯資訊
0
0
0
內容預覽:
題目:(原考卷第27題). Consider the following page reference string:. 0 1 2 3 4 0 2 1 0 3. Assume we have a number of four frames. Use Second-Chance replacemen
(還有286個字)

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者wheels時間14年前 (2011/08/01 00:55), 編輯資訊
0
0
0
內容預覽:
我覺得問題是出在這^^^^^^^^^^^^^^^^^^^^^^^^. 如果兩個process都抓到相同的ticket值的話. 這一行while loop的判斷中 ticket[1-p] < ticket[p]一定不成立. 那麼不論AND任何值都會為FALSE 此while loop的conditio

推噓4(4推 0噓 5→)留言9則,0人參與, 最新作者Byzantin (拜占庭)時間14年前 (2011/07/31 23:58), 編輯資訊
0
0
0
內容預覽:
這題正解應該是都滿足,. 解答之所以會說progress不滿足,我猜是漏看了一行:. We assume that each line of statement in the algorithm is atomic.. 而原PO似乎也犯了同樣錯誤,沒有把題目該行附上,. atomic是指該行指令是一
(還有284個字)

推噓4(4推 0噓 1→)留言5則,0人參與, 最新作者mqazz1 (無法顯示)時間14年前 (2011/07/31 19:15), 編輯資訊
0
0
0
內容預覽:
suppose we have two processes with indices 0 and 1. Assume that count is a. shared variable between the two processes with initial value zero. (Suppos
(還有718個字)
首頁
上一頁
1
下一頁
尾頁