Lines Matching defs:cMillies

234 static int rtSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos)
247 if (cMillies > 0)
253 rc9 = RTLockValidatorRecExclCheckOrder(&pThis->ValidatorWrite, hThreadSelf, pSrcPos, cMillies);
255 rc9 = RTLockValidatorRecSharedCheckOrder(&pThis->ValidatorRead, hThreadSelf, pSrcPos, cMillies);
318 if (!cMillies)
341 cMillies, RTTHREADSTATE_RW_READ, false);
349 rc = RTSemEventMultiWaitNoResume(pThis->hEvtRead, cMillies);
351 rc = RTSemEventMultiWait(pThis->hEvtRead, cMillies);
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, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
444 return rtSemRWRequestRead(hRWSem, cMillies, false, &SrcPos);
449 RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
452 return rtSemRWRequestRead(hRWSem, cMillies, true, NULL);
455 return rtSemRWRequestRead(hRWSem, cMillies, true, &SrcPos);
461 RTDECL(int) RTSemRWRequestReadNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
464 return rtSemRWRequestRead(hRWSem, cMillies, true, &SrcPos);
544 DECL_FORCE_INLINE(int) rtSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies, bool fInterruptible, PCRTLOCKVALSRCPOS pSrcPos)
557 if (cMillies)
560 int rc9 = RTLockValidatorRecExclCheckOrder(&pThis->ValidatorWrite, hThreadSelf, pSrcPos, cMillies);
613 else if (!cMillies)
642 || cMillies == 0);
654 if (cMillies)
659 cMillies, RTTHREADSTATE_RW_WRITE, false);
670 rc = RTSemEventWaitNoResume(pThis->hEvtWrite, cMillies);
672 rc = RTSemEventWait(pThis->hEvtWrite, cMillies);
718 RTDECL(int) RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
721 return rtSemRWRequestWrite(hRWSem, cMillies, false, NULL);
724 return rtSemRWRequestWrite(hRWSem, cMillies, false, &SrcPos);
730 RTDECL(int) RTSemRWRequestWriteDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
733 return rtSemRWRequestWrite(hRWSem, cMillies, false, &SrcPos);
738 RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
741 return rtSemRWRequestWrite(hRWSem, cMillies, true, NULL);
744 return rtSemRWRequestWrite(hRWSem, cMillies, true, &SrcPos);
750 RTDECL(int) RTSemRWRequestWriteNoResumeDebug(RTSEMRW hRWSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
753 return rtSemRWRequestWrite(hRWSem, cMillies, true, &SrcPos);