VirtualBox

Ignore:
Timestamp:
Dec 18, 2009 12:58:10 PM (15 years ago)
Author:
vboxsync
Message:

IPRT,PDMCritSect: More lock validator refactoring.

Location:
trunk/src/VBox/Runtime/include/internal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/lockvalidator.h

    r25436 r25478  
    4848    /** What we're blocking on. */
    4949    PRTLOCKVALIDATORREC     pRec;
    50     /** Where we're blocking. */
    51     const char volatile    *pszBlockFunction;
    52     /** Where we're blocking. */
    53     const char volatile    *pszBlockFile;
    54     /** Where we're blocking. */
    55     uint32_t volatile       uBlockLine;
    56     /** Where we're blocking. */
    57     RTHCUINTPTR volatile    uBlockId;
    58 
     50    /** Where we are blocking. */
     51    RTLOCKVALIDATORSRCPOS   SrcPos;
    5952    /** Number of registered write locks, mutexes and critsects that this thread owns. */
    6053    int32_t volatile        cWriteLocks;
  • trunk/src/VBox/Runtime/include/internal/strict.h

    r25467 r25478  
    5858#endif
    5959
    60 #ifdef RTSEMMUTEX_STRICT
    61 # define RTSEMMUTEX_STRICT_POS_DECL             RTHCUINTPTR uId, RT_SRC_POS_DECL
    62 # define RTSEMMUTEX_STRICT_POS_ARGS             uId, RT_SRC_POS_ARGS
    63 #else
    64 # define RTSEMMUTEX_STRICT_POS_DECL             int iDummy
    65 # define RTSEMMUTEX_STRICT_POS_ARGS             0
    66 #endif
    67 
    6860
    6961/** @def RTSEMRW_STRICT
     
    7466#endif
    7567
    76 #ifdef RTSEMRW_STRICT
    77 # define RTSEMRW_STRICT_POS_DECL                RTHCUINTPTR uId, RT_SRC_POS_DECL
    78 # define RTSEMRW_STRICT_POS_ARGS                uId, RT_SRC_POS_ARGS
    79 #else
    80 # define RTSEMRW_STRICT_POS_DECL                int iDummy
    81 # define RTSEMRW_STRICT_POS_ARGS                0
    82 #endif
    83 
    8468
    8569
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