Changeset 21264 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 6, 2009 5:20:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r20998 r21264 175 175 * If the critical section has already been destroyed, then inform the caller. 176 176 */ 177 AssertReturn(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC, VERR_SEM_DESTROYED); 177 AssertMsgReturn(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC, 178 ("%p %RX32\n", pCritSect, pCritSect->s.Core.u32Magic), 179 VERR_SEM_DESTROYED); 178 180 179 181 /* … … 242 244 * If the critical section has already been destroyed, then inform the caller. 243 245 */ 244 AssertReturn(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC, VERR_SEM_DESTROYED); 246 AssertMsgReturn(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC, 247 ("%p %RX32\n", pCritSect, pCritSect->s.Core.u32Magic), 248 VERR_SEM_DESTROYED); 245 249 246 250 /* … … 309 313 VMMDECL(void) PDMCritSectLeave(PPDMCRITSECT pCritSect) 310 314 { 315 AssertMsg(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC, ("%p %RX32\n", pCritSect, pCritSect->s.Core.u32Magic)); 311 316 Assert(pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC); 312 317 Assert(pCritSect->s.Core.NativeThreadOwner == pdmCritSectGetNativeSelf(pCritSect));
Note:
See TracChangeset
for help on using the changeset viewer.