Changeset 25467 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Dec 17, 2009 3:16:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/strict.h
r25406 r25467 45 45 # define RTCRITSECT_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 46 46 # define RTCRITSECT_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 47 # define RTCRITSECT_STRICT_BLOCK(hThread, pRec, fRecursive) \48 RTLockValidatorCheckBlocking(pRec, (hThread), RTTHREADSTATE_CRITSECT, fRecursive, uId, RT_SRC_POS_ARGS)49 47 #else 50 48 # define RTCRITSECT_STRICT_POS_DECL int iDummy 51 49 # define RTCRITSECT_STRICT_POS_ARGS 0 52 # define RTCRITSECT_STRICT_BLOCK(hThread, pRec, fRecursive) \53 RTThreadBlocking((hThread), RTTHREADSTATE_CRITSECT)54 50 #endif 55 #define RTCRITSECT_STRICT_UNBLOCK(hThread) RTThreadUnblocked((hThread), RTTHREADSTATE_CRITSECT)56 51 57 52 … … 66 61 # define RTSEMMUTEX_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 67 62 # define RTSEMMUTEX_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 68 # define RTSEMMUTEX_STRICT_BLOCK(hThread, pRec) RTLockValidatorCheckBlocking(pRec, (hThread), RTTHREADSTATE_MUTEX, true, uId, RT_SRC_POS_ARGS)69 63 #else 70 64 # define RTSEMMUTEX_STRICT_POS_DECL int iDummy 71 65 # define RTSEMMUTEX_STRICT_POS_ARGS 0 72 # define RTSEMMUTEX_STRICT_BLOCK(hThread, pRec) RTThreadBlocking((hThread), RTTHREADSTATE_MUTEX)73 66 #endif 74 #define RTSEMMUTEX_STRICT_UNBLOCK(hThread) RTThreadUnblocked((hThread), RTTHREADSTATE_MUTEX)75 67 76 68 … … 83 75 84 76 #ifdef RTSEMRW_STRICT 85 # define RTSEMRW_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 86 # define RTSEMRW_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 87 # define RTSEMRW_STRICT_BLOCK_ARGS(pRec) pRec, uId, RT_SRC_POS_ARGS 77 # define RTSEMRW_STRICT_POS_DECL RTHCUINTPTR uId, RT_SRC_POS_DECL 78 # define RTSEMRW_STRICT_POS_ARGS uId, RT_SRC_POS_ARGS 88 79 #else 89 # define RTSEMRW_STRICT_POS_DECL int iDummy 90 # define RTSEMRW_STRICT_POS_ARGS 0 91 # define RTSEMRW_STRICT_BLOCK_ARGS(pRec) NULL, 0, NULL, 0, NULL 80 # define RTSEMRW_STRICT_POS_DECL int iDummy 81 # define RTSEMRW_STRICT_POS_ARGS 0 92 82 #endif 93 83
Note:
See TracChangeset
for help on using the changeset viewer.