/vbox/include/iprt/ |
H A D | semaphore.h | 860 * @param hRWSem Handle to the read/write semaphore. NIL is 863 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem); variable 874 * @param hRWSem Handle to the read/write semaphore. 877 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass); 885 * @retval VERR_INVALID_HANDLE if hRWSem is invalid. 887 * @param hRWSem Handle to the read/write semaphore. 890 RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies); 898 * @retval VERR_INVALID_HANDLE if hRWSem is invalid. 900 * @param hRWSem Handle to the read/write semaphore. 903 RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVA 997 RTDECL(int) RTSemRWReleaseRead(RTSEMRW hRWSem); variable 1106 RTDECL(int) RTSemRWReleaseWrite(RTSEMRW hRWSem); variable 1114 RTDECL(bool) RTSemRWIsWriteOwner(RTSEMRW hRWSem); variable 1143 RTDECL(uint32_t) RTSemRWGetWriteRecursion(RTSEMRW hRWSem); variable 1151 RTDECL(uint32_t) RTSemRWGetWriterReadRecursion(RTSEMRW hRWSem); variable 1162 RTDECL(uint32_t) RTSemRWGetReadCount(RTSEMRW hRWSem); variable [all...] |
H A D | condvar.h | 158 * @param hRWSem The read/write semaphore to write-leave during 164 RTDECL(int) RTConvVarRWWriteWait(RTCONDVAR hCondVar, RTSEMRW hRWSem, RTMSINTERVAL cMillies); 173 * @param hRWSem The read/write semaphore to write-leave during 179 RTDECL(int) RTConvVarRWWriteWaitNoResume(RTCONDVAR hCondVar, RTSEMRW hRWSem, RTMSINTERVAL cMillies); 190 * @param hRWSem The read/write semaphore to read-leave during 196 RTDECL(int) RTConvVarRWReadWait(RTCONDVAR hCondVar, RTSEMRW hRWSem, RTMSINTERVAL cMillies); 205 * @param hRWSem The read/write semaphore to read-leave during 211 RTDECL(int) RTConvVarRWReadWaitNoResume(RTCONDVAR hCondVar, RTSEMRW hRWSem, RTMSINTERVAL cMillies);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | semrw-generic.cpp | 181 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem) argument 183 struct RTSEMRWINTERNAL *pThis = hRWSem; 246 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 252 struct RTSEMRWINTERNAL *pThis = hRWSem; 265 DECL_FORCE_INLINE(int) rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos) argument 270 struct RTSEMRWINTERNAL *pThis = hRWSem; 299 AssertMsgFailed(("RTCritSectEnter failed on rwsem %p, rc=%Rrc\n", hRWSem, rc)); 385 AssertMsgRC(rc, ("RTSemEventMultiWait failed on rwsem %p, rc=%Rrc\n", hRWSem, rc)); 401 AssertMsgFailed(("RTCritSectEnter failed on rwsem %p, rc=%Rrc\n", hRWSem, rc)); 439 RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVA argument 451 RTSemRWRequestReadDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 459 RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 471 RTSemRWRequestReadNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 479 RTSemRWReleaseRead(RTSEMRW hRWSem) argument 559 rtSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos) argument 743 RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 755 RTSemRWRequestWriteDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 763 RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 775 RTSemRWRequestWriteNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 783 RTSemRWReleaseWrite(RTSEMRW hRWSem) argument 861 RTSemRWIsWriteOwner(RTSEMRW hRWSem) argument 881 RTSemRWIsReadOwner(RTSEMRW hRWSem, bool fWannaHear) argument 920 RTSemRWGetWriteRecursion(RTSEMRW hRWSem) argument 938 RTSemRWGetWriterReadRecursion(RTSEMRW hRWSem) argument 956 RTSemRWGetReadCount(RTSEMRW hRWSem) argument [all...] |
H A D | semrw-lockless-generic.cpp | 178 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem) argument 183 RTSEMRWINTERNAL *pThis = hRWSem; 215 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 221 struct RTSEMRWINTERNAL *pThis = hRWSem; 234 static int rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos) argument 239 RTSEMRWINTERNAL *pThis = hRWSem; 429 RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies) 432 return rtSemRWRequestRead(hRWSem, cMillies, false, NULL); 435 return rtSemRWRequestRead(hRWSem, cMillies, false, &SrcPos); 441 RTDECL(int) RTSemRWRequestReadDebug(RTSEMRW hRWSem, RTMSINTERVA [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | semrw-posix.cpp | 166 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem) argument 171 struct RTSEMRWINTERNAL *pThis = hRWSem; 200 AssertMsgFailed(("Failed to destroy read-write sem %p, rc=%d.\n", hRWSem, rc)); 208 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 214 struct RTSEMRWINTERNAL *pThis = hRWSem; 226 DECL_FORCE_INLINE(int) rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, PCRTLOCKVALSRCPOS pSrcPos) argument 231 struct RTSEMRWINTERNAL *pThis = hRWSem; 280 AssertMsgFailed(("Failed read lock read-write sem %p, rc=%d.\n", hRWSem, rc)); 312 AssertMsg(rc == ETIMEDOUT, ("Failed read lock read-write sem %p, rc=%d.\n", hRWSem, rc)); 327 RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVA argument 338 RTSemRWRequestReadDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 346 RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 358 RTSemRWRequestReadNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 365 RTSemRWReleaseRead(RTSEMRW hRWSem) argument 421 rtSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies, PCRTLOCKVALSRCPOS pSrcPos) argument 523 RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 534 RTSemRWRequestWriteDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 542 RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies) argument 554 RTSemRWRequestWriteNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument 562 RTSemRWReleaseWrite(RTSEMRW hRWSem) argument 615 RTSemRWIsWriteOwner(RTSEMRW hRWSem) argument 636 RTSemRWIsReadOwner(RTSEMRW hRWSem, bool fWannaHear) argument 678 RTSemRWGetWriteRecursion(RTSEMRW hRWSem) argument 696 RTSemRWGetWriterReadRecursion(RTSEMRW hRWSem) argument 714 RTSemRWGetReadCount(RTSEMRW hRWSem) argument [all...] |