Changeset 25615 in vbox
- Timestamp:
- Jan 1, 2010 2:40:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp
r25614 r25615 202 202 { 203 203 #ifdef RTSEMRW_STRICT 204 int rc9 = RTLockValidatorRecExclRecursionMixed(&pThis->ValidatorWrite, &pThis->ValidatorRead ->Core, pSrcPos);204 int rc9 = RTLockValidatorRecExclRecursionMixed(&pThis->ValidatorWrite, &pThis->ValidatorRead.Core, pSrcPos); 205 205 if (RT_FAILURE(rc9)) 206 206 return rc9; … … 309 309 AssertMsgReturn(pThis->cWriterReads > 0, ("pThis=%p\n", pThis), VERR_NOT_OWNER); 310 310 #ifdef RTSEMRW_STRICT 311 int rc9 = RTLockValidatorRecExclUnwindMixed(&pThis->ValidatorWrite, &pThis->ValidatorRead ->Core.);311 int rc9 = RTLockValidatorRecExclUnwindMixed(&pThis->ValidatorWrite, &pThis->ValidatorRead.Core); 312 312 if (RT_FAILURE(rc9)) 313 313 return rc9; … … 433 433 #endif /* !RT_OS_DARWIN */ 434 434 } 435 }436 435 437 436 ATOMIC_SET_PTHREAD_T(&pThis->Writer, Self); … … 519 518 */ 520 519 #ifdef RTSEMRW_STRICT 521 int rc9 = RTLockValidatorRecExclReleaseOwner(&pThis->ValidatorWrite );520 int rc9 = RTLockValidatorRecExclReleaseOwner(&pThis->ValidatorWrite, true); 522 521 if (RT_FAILURE(rc9)) 523 522 return rc9;
Note:
See TracChangeset
for help on using the changeset viewer.