[問題] hw5

作者: harrys86016 (阿中)   2012-12-06 22:41:50
想請問buf.h中Status pinPage()函式下
註解的第三行到第四行
//If the pin count was 0 before the call, the page was
//a replacement candidate, but is no longer a candidate.
是什麼意思?
也就是在pin_count=0的情況我們要做哪些特殊的處理?
謝謝助教~
作者: bombom (蹦蹦)   2012-12-06 23:45:00
這段的敘述就是被pin了之後就那個page就不是個candidate了我不知道你所謂的特殊處理是怎樣耶@@"
作者: MBRSL (MBRSL)   2012-12-07 01:38:00
如上所說根據不同的implement方法,有些人會需要在pinPage處理這件事
作者: harrys86016 (阿中)   2012-12-07 11:38:00
我了解了,謝謝助教~

Links booklink

Contact Us: admin [ a t ] ucptt.com