Lines Matching refs:timeout
106 u32_t timeout);
301 sys_arch_mbox_fetch(struct sys_mbox **mb, void **msg, u32_t timeout)
308 /* The mutex lock is quick so we don't bother with the timeout
316 must be prepared to timeout. */
317 if (timeout != 0) {
318 time_needed = sys_arch_sem_wait(&mbox->not_empty, timeout);
375 cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, u32_t timeout)
383 if (timeout > 0) {
384 /* Get a timestamp and add the timeout value. */
388 usec += timeout % 1000 * 1000;
389 sec += (int)(timeout / 1000) + (int)(usec / 1000000);
416 sys_arch_sem_wait(struct sys_sem **s, u32_t timeout)
425 if (timeout > 0) {
426 time_needed = cond_wait(&(sem->cond), &(sem->mutex), timeout);