Lines Matching refs:timeout
205 * "timeout" argument is non-zero, the thread should only be blocked for the
206 * specified time (measured in milliseconds). If the "timeout" argument is zero,
216 * @param timeout timeout in milliseconds to wait (0 = wait forever)
217 * @return SYS_ARCH_TIMEOUT on timeout, any other value on success
219 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout);
226 /** Wait for a semaphore - forever/no timeout */
318 * not block the thread longer than "timeout" milliseconds (similar to
319 * the sys_arch_sem_wait() function). If "timeout" is 0, the thread should
325 * SYS_ARCH_TIMEOUT if there was a timeout, any other value if a messages
333 * @param timeout maximum time (in milliseconds) to wait for a message (0 = wait forever)
334 * @return SYS_ARCH_TIMEOUT on timeout, any other value if a message has been received
336 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout);
337 /* Allow port to override with a macro, e.g. special timeout for sys_arch_mbox_fetch() */