Changeset 38081 in vbox
- Timestamp:
- Jul 20, 2011 2:21:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r38059 r38081 506 506 */ 507 507 RTNATIVETHREAD const hNativeSelf = pdmCritSectGetNativeSelf(pCritSect); 508 if (RT_UNLIKELY(pCritSect->s.Core.NativeThreadOwner != hNativeSelf)) 509 { 510 #if 1 511 AssertMsgFailed(("%p %s: %p != %p; cLockers=%d cNestings=%d\n", pCritSect, R3STRING(pCritSect->s.pszName), 512 pCritSect->s.Core.NativeThreadOwner, hNativeSelf, 513 pCritSect->s.Core.cLockers, pCritSect->s.Core.cNestings)); 514 #else 515 AssertReleaseMsgFailed(("%p %s: %p != %p; cLockers=%d cNestings=%d\n", pCritSect, R3STRING(pCritSect->s.pszName), 508 AssertReleaseMsgReturnVoid(pCritSect->s.Core.NativeThreadOwner == hNativeSelf, 509 ("%p %s: %p != %p; cLockers=%d cNestings=%d\n", pCritSect, R3STRING(pCritSect->s.pszName), 516 510 pCritSect->s.Core.NativeThreadOwner, hNativeSelf, 517 511 pCritSect->s.Core.cLockers, pCritSect->s.Core.cNestings)); 518 #endif519 return;520 }521 512 Assert(pCritSect->s.Core.cNestings >= 1); 522 513
Note:
See TracChangeset
for help on using the changeset viewer.