Changeset 25378 in vbox for trunk/include/iprt
- Timestamp:
- Dec 14, 2009 7:30:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/semaphore.h
r25373 r25378 281 281 */ 282 282 RTDECL(int) RTSemMutexRelease(RTSEMMUTEX MutexSem); 283 284 /* Strict build: Remap the two request calls to the debug versions. */ 285 #ifdef RT_STRICT 286 # ifdef ___iprt_asm_h 287 # define RTSemMutexRequest(pCritSect, cMillies) RTSemMutexRequestDebug((pCritSect), (cMillies), (uintptr_t)ASMReturnAddress(), RT_SRC_POS) 288 # define RTSemMutexRequestNoResume(pCritSect, cMillies) RTSemMutexRequestNoResumeDebug((pCritSect), (cMillies), (uintptr_t)ASMReturnAddress(), RT_SRC_POS) 289 # else 290 # define RTSemMutexRequest(pCritSect, cMillies) RTSemMutexRequestDebug((pCritSect), (cMillies), 0, RT_SRC_POS) 291 # define RTSemMutexRequestNoResume(pCritSect, cMillies) RTSemMutexRequestNoResumeDebug((pCritSect), (cMillies), 0, RT_SRC_POS) 292 # endif 293 #endif 283 294 284 295 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.