Changeset 22677 in vbox
- Timestamp:
- Sep 1, 2009 3:10:42 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/freebsd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c
r22582 r22677 96 96 return VERR_INVALID_HANDLE; 97 97 PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)EventSem; 98 RTSPINLOCKTMP Tmp ;98 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 99 99 100 100 AssertPtrReturn(pEventInt, VERR_INVALID_HANDLE); … … 131 131 RTDECL(int) RTSemEventSignal(RTSEMEVENT EventSem) 132 132 { 133 RTSPINLOCKTMP Tmp ;133 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 134 134 PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)EventSem; 135 135 AssertPtrReturn(pEventInt, VERR_INVALID_HANDLE); … … 161 161 { 162 162 int rc; 163 RTSPINLOCKTMP Tmp ;163 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 164 164 PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)EventSem; 165 165 AssertPtrReturn(pEventInt, VERR_INVALID_HANDLE); -
trunk/src/VBox/Runtime/r0drv/freebsd/semeventmulti-r0drv-freebsd.c
r22582 r22677 96 96 return VERR_INVALID_HANDLE; 97 97 PRTSEMEVENTMULTIINTERNAL pEventMultiInt = (PRTSEMEVENTMULTIINTERNAL)EventMultiSem; 98 RTSPINLOCKTMP Tmp ;98 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 99 99 100 100 AssertPtrReturn(pEventMultiInt, VERR_INVALID_HANDLE); … … 130 130 RTDECL(int) RTSemEventMultiSignal(RTSEMEVENTMULTI EventMultiSem) 131 131 { 132 RTSPINLOCKTMP Tmp ;132 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 133 133 PRTSEMEVENTMULTIINTERNAL pEventMultiInt = (PRTSEMEVENTMULTIINTERNAL)EventMultiSem; 134 134 AssertPtrReturn(pEventMultiInt, VERR_INVALID_HANDLE); … … 158 158 RTDECL(int) RTSemEventMultiReset(RTSEMEVENTMULTI EventMultiSem) 159 159 { 160 RTSPINLOCKTMP Tmp ;160 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 161 161 PRTSEMEVENTMULTIINTERNAL pEventMultiInt = (PRTSEMEVENTMULTIINTERNAL)EventMultiSem; 162 162 AssertPtrReturn(pEventMultiInt, VERR_INVALID_HANDLE); … … 175 175 { 176 176 int rc; 177 RTSPINLOCKTMP Tmp ;177 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 178 178 PRTSEMEVENTMULTIINTERNAL pEventMultiInt = (PRTSEMEVENTMULTIINTERNAL)EventMultiSem; 179 179 AssertPtrReturn(pEventMultiInt, VERR_INVALID_HANDLE); -
trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c
r22650 r22677 173 173 #ifdef RT_STRICT 174 174 Assert(pTmp->uFlags == 0); 175 pTmp->uFlags = 0;175 pTmp->uFlags = 42; 176 176 #endif 177 177
Note:
See TracChangeset
for help on using the changeset viewer.