Changeset 25710 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jan 11, 2010 10:46:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp
r25707 r25710 132 132 va_list va; 133 133 va_start(va, pszNameFmt); 134 RTLockValidatorRecExclInit (&pThis->ValidatorWrite, hClass, uSubClass, pThis, fLVEnabled, pszNameFmt);134 RTLockValidatorRecExclInitV(&pThis->ValidatorWrite, hClass, uSubClass, pThis, fLVEnabled, pszNameFmt, va); 135 135 va_end(va); 136 136 va_start(va, pszNameFmt); 137 RTLockValidatorRecSharedInit (&pThis->ValidatorRead, hClass, uSubClass, pThis, false /*fSignaller*/,138 fLVEnabled, pszNameFmt);137 RTLockValidatorRecSharedInitV(&pThis->ValidatorRead, hClass, uSubClass, pThis, false /*fSignaller*/, 138 fLVEnabled, pszNameFmt, va); 139 139 va_end(va); 140 140 RTLockValidatorRecMakeSiblings(&pThis->ValidatorWrite.Core, &pThis->ValidatorRead.Core); … … 581 581 return VINF_SUCCESS; 582 582 } 583 pThis->cWrites--;584 583 585 584 /* … … 592 591 #endif 593 592 593 pThis->cWrites--; 594 594 ATOMIC_SET_PTHREAD_T(&pThis->Writer, (pthread_t)-1); 595 595 int rc = pthread_rwlock_unlock(&pThis->RWLock);
Note:
See TracChangeset
for help on using the changeset viewer.