Changeset 25373 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Dec 14, 2009 7:20:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/strict.h
r8651 r25373 42 42 #endif 43 43 44 #ifdef RTCRITSECT_STRICT 45 # define RTCRITSECT_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 46 # define RTCRITSECT_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 47 # define RTCRITSECT_STRICT_BLOCK_ARGS(pRec) pRec, uId, RT_SRC_POS_ARGS 48 #else 49 # define RTCRITSECT_STRICT_POS_DECL int iDummy 50 # define RTCRITSECT_STRICT_POS_ARGS 0 51 # define RTCRITSECT_STRICT_BLOCK_ARGS(pRec) NULL, 0, NULL, 0, NULL 52 #endif 53 54 44 55 /** @def RTSEMMUTEX_STRICT 45 56 * Enables strictness checks and lock accounting of the RTSemMutex API. … … 48 59 # define RTSEMMUTEX_STRICT 49 60 #endif 61 62 #ifdef RTSEMMUTEX_STRICT 63 # define RTSEMMUTEX_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 64 # define RTSEMMUTEX_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 65 # define RTSEMMUTEX_STRICT_BLOCK_ARGS(pRec) pRec, uId, RT_SRC_POS_ARGS 66 #else 67 # define RTSEMMUTEX_STRICT_POS_DECL int iDummy 68 # define RTSEMMUTEX_STRICT_POS_ARGS 0 69 # define RTSEMMUTEX_STRICT_BLOCK_ARGS(pRec) NULL, 0, NULL, 0, NULL 70 #endif 71 50 72 51 73 /** @def RTSEMRW_STRICT … … 56 78 #endif 57 79 80 #ifdef RTSEMRW_STRICT 81 # define RTSEMRW_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 82 # define RTSEMRW_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 83 # define RTSEMRW_STRICT_BLOCK_ARGS(pRec) pRec, uId, RT_SRC_POS_ARGS 84 #else 85 # define RTSEMRW_STRICT_POS_DECL int iDummy 86 # define RTSEMRW_STRICT_POS_ARGS 0 87 # define RTSEMRW_STRICT_BLOCK_ARGS(pRec) NULL, 0, NULL, 0, NULL 88 #endif 89 90 58 91 59 92 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.