VirtualBox

Changeset 25685 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jan 7, 2010 10:03:06 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56405
Message:

iprt,pdmcritsect: Some more lock validator code, almost there now... :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r25638 r25685  
    129129# ifdef PDMCRITSECT_STRICT
    130130    RTTHREAD        hThreadSelf = RTThreadSelfAutoAdopt();
    131     int rc2 = RTLockValidatorRecExclCheckOrder(pCritSect->s.Core.pValidatorRec, hThreadSelf, pSrcPos);
     131    int rc2 = RTLockValidatorRecExclCheckOrder(pCritSect->s.Core.pValidatorRec, hThreadSelf, pSrcPos, RT_INDEFINITE_WAIT);
    132132    if (RT_FAILURE(rc2))
    133133        return rc2;
     
    140140        int rc9 = RTLockValidatorRecExclCheckBlocking(pCritSect->s.Core.pValidatorRec, hThreadSelf, pSrcPos,
    141141                                                      !(pCritSect->s.Core.fFlags & RTCRITSECT_FLAGS_NO_NESTING),
    142                                                       RTTHREADSTATE_CRITSECT, true);
     142                                                      RT_INDEFINITE_WAIT, RTTHREADSTATE_CRITSECT, true);
    143143        if (RT_FAILURE(rc9))
    144144            return rc9;
Note: See TracChangeset for help on using the changeset viewer.

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