Changeset 25791 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jan 12, 2010 10:57:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r25748 r25791 1347 1347 { 1348 1348 pChunk->aRefs[i].fAutodidacticism = fAutodidacticism; 1349 rtLockValidatorClassRetain(pPriorClass); 1349 1350 rc = VINF_SUCCESS; 1350 1351 break; … … 1378 1379 1379 1380 ASMAtomicWritePtr((void * volatile *)&pChunk->pNext, pNew); 1381 rtLockValidatorClassRetain(pPriorClass); 1380 1382 rc = VINF_SUCCESS; 1381 1383 break; … … 3374 3376 3375 3377 ASMAtomicWriteU32(&pRec->Core.u32Magic, RTLOCKVALRECSHRD_MAGIC_DEAD); 3376 ASMAtomicUoWriteHandle(&pRec->hClass, NIL_RTLOCKVALCLASS); 3378 RTLOCKVALCLASS hClass; 3379 ASMAtomicXchgHandle(&pRec->hClass, NIL_RTLOCKVALCLASS, &hClass); 3377 3380 if (pRec->papOwners) 3378 3381 { … … 3388 3391 3389 3392 rtLockValidatorSerializeDestructLeave(); 3393 3394 if (hClass != NIL_RTLOCKVALCLASS) 3395 RTLockValidatorClassRelease(hClass); 3390 3396 } 3391 3397
Note:
See TracChangeset
for help on using the changeset viewer.