Lines Matching defs:cMillies
117 * @param cMillies The timeout.
122 static int rtSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, BOOLEAN fInterruptible)
135 AssertMsg(cMillies == RT_INDEFINITE_WAIT, ("timeouts are not supported when using fast mutexes!\n"));
139 if (cMillies == RT_INDEFINITE_WAIT)
144 Timeout.QuadPart = -(int64_t)cMillies * 10000;
172 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
174 return rtSemMutexRequest(hMutexSem, cMillies, FALSE /*fInterruptible*/);
178 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
180 return RTSemMutexRequest(hMutexSem, cMillies);
184 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
186 return rtSemMutexRequest(hMutexSem, cMillies, TRUE /*fInterruptible*/);
190 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL)
192 return RTSemMutexRequestNoResume(hMutexSem, cMillies);