Searched refs:abs_timeout (Results 1 – 2 of 2) sorted by relevance
159 struct timespec abs_timeout; local189 abs_timeout.tv_sec = ltime_now.tv_sec + uTimeOut / 1000;190 abs_timeout.tv_nsec = (ltimenow_us % 1000000) * 1000;196 if (SUCCESS != pthread_mutex_timedlock(plMutex, &abs_timeout))
155 struct timespec abs_timeout; in TIMM_OSAL_SemaphoreObtain() local186 abs_timeout.tv_sec = ltime_now.tv_sec + (uTimeOut / 1000); in TIMM_OSAL_SemaphoreObtain()187 abs_timeout.tv_nsec = in TIMM_OSAL_SemaphoreObtain()190 if (SUCCESS != sem_timedwait(psem, &abs_timeout)) in TIMM_OSAL_SemaphoreObtain()