VirtualBox

Changeset 25610 in vbox


Ignore:
Timestamp:
Dec 31, 2009 2:53:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56301
Message:

iprt/lockvalidator.h: spaces and docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/lockvalidator.h

    r25607 r25610  
    106106 * Lock validator record core.
    107107 */
    108 typedef struct RTLOCKVALIDATORRECORE
     108typedef struct RTLOCKVALRECORE
    109109{
    110110    /** The magic value indicating the record type. */
    111     uint32_t                            u32Magic;
     111    uint32_t volatile                   u32Magic;
    112112} RTLOCKVALRECCORE;
    113113/** Pointer to a lock validator record core. */
     
    149149    /** Pointer to the next sibling record.
    150150     * This is used to find the read side of a read-write lock.  */
    151     R3R0PTRTYPE(PRTLOCKVALRECUNION) pSibling;
     151    R3R0PTRTYPE(PRTLOCKVALRECUNION)     pSibling;
    152152} RTLOCKVALRECEXCL;
    153153AssertCompileSize(RTLOCKVALRECEXCL, HC_ARCH_BITS == 32 ? 8 + 16 + 32 : 8 + 32 + 56);
     
    162162    RTLOCKVALRECCORE                    Core;
    163163    /** 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;
    165169    /** The current owner thread. */
    166170    RTTHREAD volatile                   hThread;
     
    357361 * @param   hThread             The current thread.  Shall not be NIL_RTTHREAD!
    358362 * @param   enmState            The sleep state.
    359  * @param   pvBlock             Pointer to a RTLOCKVALIDATORREC structure.
    360363 * @param   fRecursiveOk        Whether it's ok to recurse.
    361364 * @param   pSrcPos             The source position of the lock operation.
     
    380383 * @param   hThread             The current thread.  Shall not be NIL_RTTHREAD!
    381384 * @param   enmState            The sleep state.
    382  * @param   pvBlock             Pointer to a RTLOCKVALIDATORREC structure.
    383385 * @param   fRecursiveOk        Whether it's ok to recurse.
    384386 * @param   pSrcPos             The source position of the lock operation.
     
    403405 * @param   hThread             The current thread.  Shall not be NIL_RTTHREAD!
    404406 * @param   enmState            The sleep state.
    405  * @param   pvBlock             Pointer to a RTLOCKVALIDATORREC structure.
    406407 * @param   fRecursiveOk        Whether it's ok to recurse.
    407408 * @param   pSrcPos             The source position of the lock operation.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette