- Timestamp:
- Mar 25, 2013 4:32:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMCritSect.cpp
r45152 r45177 248 248 pCritSect->Core.pValidatorRead = NULL; 249 249 pCritSect->Core.pValidatorWrite = NULL; 250 #ifdef PDMCRITSECT _STRICT250 #ifdef PDMCRITSECTRW_STRICT 251 251 # ifdef RT_LOCK_STRICT_ORDER 252 252 RTLOCKVALCLASS hClass = RTLockValidatorClassForSrcPos(RT_SRC_POS_ARGS, "%s", pszName); … … 265 265 * Initialize the structure (first bit is c&p from RTCritSectRwInitEx). 266 266 */ 267 pCritSect->Core.u32Magic = RTCRITSECTRW_MAGIC _DEAD;267 pCritSect->Core.u32Magic = RTCRITSECTRW_MAGIC; 268 268 pCritSect->Core.fNeedReset = false; 269 269 pCritSect->Core.u64State = 0; … … 271 271 pCritSect->Core.cWriterReads = 0; 272 272 pCritSect->Core.cWriteRecursions = 0; 273 pCritSect->Core.pValidatorWrite = NULL;274 pCritSect->Core.pValidatorRead = NULL;275 273 #if HC_ARCH_BITS == 32 276 274 pCritSect->Core.HCPtrPadding = NIL_RTHCPTR;
Note:
See TracChangeset
for help on using the changeset viewer.