VirtualBox

vbox的更動 25409 路徑 trunk/src/VBox/Runtime/r3/linux


忽略:
時間撮記:
2009-12-15 下午03:04:41 (15 年 以前)
作者:
vboxsync
訊息:

IPRT,PDMCritSect,Main: Moved code dealing with lock counting from RTThread to RTLockValidator. Fixed thread termination assertion on windows.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/linux/semmutex-linux.cpp

    r25398 r25409  
    289289    ASMAtomicWriteU32(&pThis->cNesting, 1);
    290290#ifdef RTSEMMUTEX_STRICT
    291     RTThreadWriteLockInc(RTLockValidatorSetOwner(&pThis->ValidatorRec, hThreadSelf, RTSEMMUTEX_STRICT_POS_ARGS));
     291    RTLockValidatorWriteLockInc(RTLockValidatorSetOwner(&pThis->ValidatorRec, hThreadSelf, RTSEMMUTEX_STRICT_POS_ARGS));
    292292#endif
    293293    return VINF_SUCCESS;
     
    373373     */
    374374#ifdef RTSEMMUTEX_STRICT
    375     RTThreadWriteLockDec(RTLockValidatorUnsetOwner(&pThis->ValidatorRec));
     375    RTLockValidatorWriteLockDec(RTLockValidatorUnsetOwner(&pThis->ValidatorRec));
    376376#endif
    377377    pThis->Owner = (pthread_t)~0;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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