Lines Matching refs:cMillies
154 * @param cMillies The timeout, must be > 0 or RT_INDEFINITE_WAIT.
159 static int rtSemMutexSolRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies,
163 Assert(cMillies > 0);
171 if (cMillies != RT_INDEFINITE_WAIT)
173 clock_t cTicks = drv_usectohz((clock_t)(cMillies * 1000L));
256 DECLINLINE(int) rtSemMutexSolRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fInterruptible)
292 else if (cMillies == 0)
298 rc = rtSemMutexSolRequestSleep(pThis, cMillies, fInterruptible);
305 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
307 return rtSemMutexSolRequest(hMutexSem, cMillies, false /*fInterruptible*/);
311 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
313 return RTSemMutexRequest(hMutexSem, cMillies);
317 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
319 return rtSemMutexSolRequest(hMutexSem, cMillies, true /*fInterruptible*/);
323 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
325 return RTSemMutexRequestNoResume(hMutexSem, cMillies);