Changeset 8662 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 7, 2008 2:58:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r8651 r8662 381 381 */ 382 382 #ifdef RTCRITSECT_STRICT 383 RTThreadWriteLockDec(pCritSect->Strict.ThreadOwner); 383 if (pCritSect->Strict.ThreadOwner != NIL_RTTHREAD) /* May happen for PDMCritSects when entering GC/R0. */ 384 RTThreadWriteLockDec(pCritSect->Strict.ThreadOwner); 384 385 ASMAtomicXchgSize(&pCritSect->Strict.ThreadOwner, NIL_RTTHREAD); 385 386 #endif
Note:
See TracChangeset
for help on using the changeset viewer.