- Timestamp:
- Oct 11, 2010 3:56:04 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66567
- Location:
- trunk/src/VBox/Runtime/r0drv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
r33033 r33043 178 178 AssertPtrReturn(pThis, VERR_INVALID_PARAMETER); 179 179 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER); 180 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 180 181 rtR0SemEventLnxRetain(pThis); 181 182 -
trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
r33033 r33043 60 60 /** @} */ 61 61 62 62 63 /******************************************************************************* 63 64 * Structures and Typedefs * … … 71 72 uint32_t volatile u32Magic; 72 73 /** The object state bit and generation counter. 73 * The generation counter is incremented every time the object is */ 74 * The generation counter is incremented every time the object is 75 * signalled. */ 74 76 uint32_t volatile fStateAndGen; 75 77 /** Reference counter. */ … … 241 243 AssertPtrReturn(pThis, VERR_INVALID_PARAMETER); 242 244 AssertMsgReturn(pThis->u32Magic == RTSEMEVENTMULTI_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER); 245 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 243 246 rtR0SemEventMultiLnxRetain(pThis); 244 247 -
trunk/src/VBox/Runtime/r0drv/nt/semevent-r0drv-nt.cpp
r33038 r33043 169 169 AssertPtrReturn(pThis, VERR_INVALID_PARAMETER); 170 170 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER); 171 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 172 171 173 rtR0SemEventNtRetain(pThis); 172 174 … … 198 200 } 199 201 200 201 202 /* 202 203 * Wait for it. -
trunk/src/VBox/Runtime/r0drv/nt/semeventmulti-r0drv-nt.cpp
r33038 r33043 193 193 AssertPtrReturn(pThis, VERR_INVALID_PARAMETER); 194 194 AssertMsgReturn(pThis->u32Magic == RTSEMEVENTMULTI_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER); 195 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 196 195 197 rtR0SemEventMultiNtRetain(pThis); 196 198 … … 222 224 } 223 225 224 225 226 /* 226 227 * Wait for it.
Note:
See TracChangeset
for help on using the changeset viewer.