VirtualBox

忽略:
時間撮記:
2007-9-7 上午04:35:17 (17 年 以前)
作者:
vboxsync
訊息:

Give up earlier, esp. if we're not the EMT - just had EMT in a HLT loop and the timer thread racing each other.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp

    r4071 r4592  
    194194     * that might occure at any point in the return path as well.
    195195     */
    196     for (int cTries = 100;;)
     196    for (int cTries = 50;;)
    197197    {
    198198        u64PrevNanoTS = ASMAtomicReadU64(&pVM->tm.s.u64VirtualRawPrev);
     
    202202            break;
    203203        AssertBreak(--cTries <= 0, );
     204        if (cTries < 25 && !VM_IS_EMT(pVM)) /* give up early */
     205            break;
    204206    }
    205207
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette