Changeset 25610 in vbox
- Timestamp:
- Dec 31, 2009 2:53:27 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/lockvalidator.h
r25607 r25610 106 106 * Lock validator record core. 107 107 */ 108 typedef struct RTLOCKVAL IDATORRECORE108 typedef struct RTLOCKVALRECORE 109 109 { 110 110 /** The magic value indicating the record type. */ 111 uint32_t 111 uint32_t volatile u32Magic; 112 112 } RTLOCKVALRECCORE; 113 113 /** Pointer to a lock validator record core. */ … … 149 149 /** Pointer to the next sibling record. 150 150 * This is used to find the read side of a read-write lock. */ 151 R3R0PTRTYPE(PRTLOCKVALRECUNION) pSibling;151 R3R0PTRTYPE(PRTLOCKVALRECUNION) pSibling; 152 152 } RTLOCKVALRECEXCL; 153 153 AssertCompileSize(RTLOCKVALRECEXCL, HC_ARCH_BITS == 32 ? 8 + 16 + 32 : 8 + 32 + 56); … … 162 162 RTLOCKVALRECCORE Core; 163 163 /** Recursion count */ 164 uint32_t cRecursion; 164 uint16_t cRecursion; 165 /** Static (true) or dynamic (false) allocated record. */ 166 bool fStaticAlloc; 167 /** Reserved. */ 168 bool fReserved; 165 169 /** The current owner thread. */ 166 170 RTTHREAD volatile hThread; … … 357 361 * @param hThread The current thread. Shall not be NIL_RTTHREAD! 358 362 * @param enmState The sleep state. 359 * @param pvBlock Pointer to a RTLOCKVALIDATORREC structure.360 363 * @param fRecursiveOk Whether it's ok to recurse. 361 364 * @param pSrcPos The source position of the lock operation. … … 380 383 * @param hThread The current thread. Shall not be NIL_RTTHREAD! 381 384 * @param enmState The sleep state. 382 * @param pvBlock Pointer to a RTLOCKVALIDATORREC structure.383 385 * @param fRecursiveOk Whether it's ok to recurse. 384 386 * @param pSrcPos The source position of the lock operation. … … 403 405 * @param hThread The current thread. Shall not be NIL_RTTHREAD! 404 406 * @param enmState The sleep state. 405 * @param pvBlock Pointer to a RTLOCKVALIDATORREC structure.406 407 * @param fRecursiveOk Whether it's ok to recurse. 407 408 * @param pSrcPos The source position of the lock operation.
Note:
See TracChangeset
for help on using the changeset viewer.