Changeset 25519 in vbox for trunk/include/iprt
- Timestamp:
- Dec 20, 2009 4:41:19 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56192
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/lockvalidator.h
r25508 r25519 103 103 /** Magic value (RTLOCKVALIDATORREC_MAGIC). */ 104 104 uint32_t u32Magic; 105 /** Whether it's enabled or not. */ 106 bool fEnabled; 105 107 /** Reserved. */ 106 uint32_t u32Reserved;108 bool afReserved[3]; 107 109 /** Source position where the lock was taken. */ 108 110 RTLOCKVALIDATORSRCPOS SrcPos; … … 186 188 * using the table at that point. */ 187 189 bool volatile fReallocating; 190 /** Whether it's enabled or not. */ 191 bool fEnabled; 188 192 /** Alignment padding. */ 189 bool afPadding[ 3];193 bool afPadding[2]; 190 194 /** Pointer to a table containing pointers to records of all the owners. */ 191 195 R3R0PTRTYPE(PRTLOCKVALIDATORSHAREDONE volatile *) papOwners; … … 552 556 553 557 558 559 /** 560 * Enables / disables the lock validator for new locks. 561 * 562 * @returns The old setting. 563 * @param fEnabled The new setting. 564 */ 565 RTDECL(bool) RTLockValidatorSetEnabled(bool fEnabled); 566 567 /** 568 * Is the lock validator enabled? 569 * 570 * @returns True if enabled, false if not. 571 */ 572 RTDECL(bool) RTLockValidatorIsEnabled(void); 573 574 554 575 RT_C_DECLS_END 555 576
Note:
See TracChangeset
for help on using the changeset viewer.