505
505
* Always check that the caller is the owner (screw performance).
507
507
RTNATIVETHREAD const hNativeSelf = pdmCritSectGetNativeSelf(pCritSect);
511
AssertMsgFailed(("%p %s: %p != %p; cLockers=%d cNestings=%d\n", pCritSect, R3STRING(pCritSect->s.pszName),
515
AssertReleaseMsgFailed(("%p %s: %p != %p; cLockers=%d cNestings=%d\n", pCritSect, R3STRING(pCritSect->s.pszName),
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));
521
512
Assert(pCritSect->s.Core.cNestings >= 1);