VirtualBox

Changeset 25602 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Dec 31, 2009 1:18:00 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56293
Message:

iprt: More lock validation code; rewrote tstDeadlock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp

    r25570 r25602  
    121121                RTLockValidatorRecInit(&pThis->ValidatorWrite, NIL_RTLOCKVALIDATORCLASS, RTLOCKVALIDATOR_SUB_CLASS_NONE, NULL, pThis);
    122122                RTLockValidatorSharedRecInit(&pThis->ValidatorRead,  NIL_RTLOCKVALIDATORCLASS, RTLOCKVALIDATOR_SUB_CLASS_NONE, NULL, pThis);
    123                 RTLockValidatorMakeSiblings(&pThis->ValidatorWrite, &pThis->ValidatorRead);
     123                RTLockValidatorMakeSiblings(&pThis->ValidatorWrite.Core, &pThis->ValidatorRead.Core);
    124124#endif
    125125                *pRWSem = pThis;
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