VirtualBox

儲存庫 vbox 的更動 37241


忽略:
時間撮記:
2011-5-27 下午03:37:48 (13 年 以前)
作者:
vboxsync
訊息:

ConsoleImpl2.cpp: Avoid lock order inversion issue between the VMM state mutex and the console object.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r37215 r37241  
    621621 * @return  VBox status code.
    622622 * @param   pVM         The VM handle.
     623 * @param   pAlock      The automatic lock instance.  This is for when we have
     624 *                      to leave it in order to avoid deadlocks (ext packs and
     625 *                      more).
    623626 */
    624627int Console::configConstructorInner(PVM pVM, AutoWriteLock *pAlock)
     
    25942597#undef H
    25952598
     2599    pAlock->release(); /* Avoid triggering the lock order inversion check. */
     2600
    25962601    /*
    25972602     * Register VM state change handler.
     
    26092614    if (RT_SUCCESS(rc))
    26102615        rc = rc2;
     2616
     2617    pAlock->acquire();
    26112618
    26122619    LogFlowFunc(("vrc = %Rrc\n", rc));
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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