Lines Matching defs:hRWSem

166 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem)
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)
214 struct RTSEMRWINTERNAL *pThis = hRWSem;
226 DECL_FORCE_INLINE(int) rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, PCRTLOCKVALSRCPOS pSrcPos)
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, RTMSINTERVAL cMillies)
330 return rtSemRWRequestRead(hRWSem, cMillies, NULL);
333 return rtSemRWRequestRead(hRWSem, cMillies, &SrcPos);
338 RTDECL(int) RTSemRWRequestReadDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
341 return rtSemRWRequestRead(hRWSem, cMillies, &SrcPos);
346 RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
350 return rtSemRWRequestRead(hRWSem, cMillies, NULL);
353 return rtSemRWRequestRead(hRWSem, cMillies, &SrcPos);
358 RTDECL(int) RTSemRWRequestReadNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
361 return rtSemRWRequestRead(hRWSem, cMillies, &SrcPos);
365 RTDECL(int) RTSemRWReleaseRead(RTSEMRW hRWSem)
370 struct RTSEMRWINTERNAL *pThis = hRWSem;
414 AssertMsgFailed(("Failed read unlock read-write sem %p, rc=%d.\n", hRWSem, rc));
421 DECL_FORCE_INLINE(int) rtSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies, PCRTLOCKVALSRCPOS pSrcPos)
426 struct RTSEMRWINTERNAL *pThis = hRWSem;
475 AssertMsgFailed(("Failed write lock read-write sem %p, rc=%d.\n", hRWSem, rc));
506 AssertMsg(rc == ETIMEDOUT, ("Failed read lock read-write sem %p, rc=%d.\n", hRWSem, rc));
523 RTDECL(int) RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
526 return rtSemRWRequestWrite(hRWSem, cMillies, NULL);
529 return rtSemRWRequestWrite(hRWSem, cMillies, &SrcPos);
534 RTDECL(int) RTSemRWRequestWriteDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
537 return rtSemRWRequestWrite(hRWSem, cMillies, &SrcPos);
542 RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
546 return rtSemRWRequestWrite(hRWSem, cMillies, NULL);
549 return rtSemRWRequestWrite(hRWSem, cMillies, &SrcPos);
554 RTDECL(int) RTSemRWRequestWriteNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
558 return rtSemRWRequestWrite(hRWSem, cMillies, &SrcPos);
562 RTDECL(int) RTSemRWReleaseWrite(RTSEMRW hRWSem)
567 struct RTSEMRWINTERNAL *pThis = hRWSem;
607 AssertMsgFailed(("Failed write unlock read-write sem %p, rc=%d.\n", hRWSem, rc));
615 RTDECL(bool) RTSemRWIsWriteOwner(RTSEMRW hRWSem)
620 struct RTSEMRWINTERNAL *pThis = hRWSem;
636 RTDECL(bool) RTSemRWIsReadOwner(RTSEMRW hRWSem, bool fWannaHear)
641 struct RTSEMRWINTERNAL *pThis = hRWSem;
678 RTDECL(uint32_t) RTSemRWGetWriteRecursion(RTSEMRW hRWSem)
683 struct RTSEMRWINTERNAL *pThis = hRWSem;
696 RTDECL(uint32_t) RTSemRWGetWriterReadRecursion(RTSEMRW hRWSem)
701 struct RTSEMRWINTERNAL *pThis = hRWSem;
714 RTDECL(uint32_t) RTSemRWGetReadCount(RTSEMRW hRWSem)
719 struct RTSEMRWINTERNAL *pThis = hRWSem;