Lines Matching defs:hRWSem
181 RTDECL(int) RTSemRWDestroy(RTSEMRW hRWSem)
183 struct RTSEMRWINTERNAL *pThis = hRWSem;
246 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass)
252 struct RTSEMRWINTERNAL *pThis = hRWSem;
265 DECL_FORCE_INLINE(int) rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos)
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, RTMSINTERVAL cMillies)
442 return rtSemRWRequestRead(hRWSem, cMillies, false, NULL);
445 return rtSemRWRequestRead(hRWSem, cMillies, false, &SrcPos);
451 RTDECL(int) RTSemRWRequestReadDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
454 return rtSemRWRequestRead(hRWSem, cMillies, false, &SrcPos);
459 RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
462 return rtSemRWRequestRead(hRWSem, cMillies, true, NULL);
465 return rtSemRWRequestRead(hRWSem, cMillies, true, &SrcPos);
471 RTDECL(int) RTSemRWRequestReadNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
474 return rtSemRWRequestRead(hRWSem, cMillies, true, &SrcPos);
479 RTDECL(int) RTSemRWReleaseRead(RTSEMRW hRWSem)
481 struct RTSEMRWINTERNAL *pThis = hRWSem;
511 AssertMsgRC(rc, ("Failed to signal writers on rwsem %p, rc=%Rrc\n", hRWSem, rc));
552 AssertMsgFailed(("RTCritSectEnter failed on rwsem %p, rc=%Rrc\n", hRWSem, rc));
559 DECL_FORCE_INLINE(int) rtSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos)
564 struct RTSEMRWINTERNAL *pThis = hRWSem;
590 AssertMsgFailed(("RTCritSectEnter failed on rwsem %p, rc=%Rrc\n", hRWSem, rc));
614 AssertMsgRC(rc, ("Failed to reset readers, rwsem %p, rc=%Rrc.\n", hRWSem, rc));
674 AssertMsgRC(rc, ("RTSemEventWait failed on rwsem %p, rc=%Rrc\n", hRWSem, rc));
690 AssertMsgFailed(("RTCritSectEnter failed on rwsem %p, rc=%Rrc\n", hRWSem, rc));
703 AssertMsgRC(rc, ("Failed to reset readers, rwsem %p, rc=%Rrc.\n", hRWSem, rc));
743 RTDECL(int) RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
746 return rtSemRWRequestWrite(hRWSem, cMillies, false, NULL);
749 return rtSemRWRequestWrite(hRWSem, cMillies, false, &SrcPos);
755 RTDECL(int) RTSemRWRequestWriteDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
758 return rtSemRWRequestWrite(hRWSem, cMillies, false, &SrcPos);
763 RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
766 return rtSemRWRequestWrite(hRWSem, cMillies, true, NULL);
769 return rtSemRWRequestWrite(hRWSem, cMillies, true, &SrcPos);
775 RTDECL(int) RTSemRWRequestWriteNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
778 return rtSemRWRequestWrite(hRWSem, cMillies, true, &SrcPos);
783 RTDECL(int) RTSemRWReleaseWrite(RTSEMRW hRWSem)
789 struct RTSEMRWINTERNAL *pThis = hRWSem;
806 AssertMsgFailed(("Not read-write owner of rwsem %p.\n", hRWSem));
846 AssertMsgRC(rc, ("RTSemEventMultiSignal failed for rwsem %p, rc=%Rrc.\n", hRWSem, rc));
852 AssertMsgRC(rc, ("Failed to signal writers on rwsem %p, rc=%Rrc\n", hRWSem, rc));
861 RTDECL(bool) RTSemRWIsWriteOwner(RTSEMRW hRWSem)
866 struct RTSEMRWINTERNAL *pThis = hRWSem;
881 RTDECL(bool) RTSemRWIsReadOwner(RTSEMRW hRWSem, bool fWannaHear)
886 struct RTSEMRWINTERNAL *pThis = hRWSem;
920 RTDECL(uint32_t) RTSemRWGetWriteRecursion(RTSEMRW hRWSem)
922 struct RTSEMRWINTERNAL *pThis = hRWSem;
938 RTDECL(uint32_t) RTSemRWGetWriterReadRecursion(RTSEMRW hRWSem)
940 struct RTSEMRWINTERNAL *pThis = hRWSem;
956 RTDECL(uint32_t) RTSemRWGetReadCount(RTSEMRW hRWSem)
961 struct RTSEMRWINTERNAL *pThis = hRWSem;