Lines Matching refs:timeout
75 time_t ctx_timeout; /* timeout */
157 struct timespec timeout; \
160 timeout.tv_sec = now.tv_sec + to; \
161 timeout.tv_nsec = now.tv_usec / 1000; \
162 r = pthread_cond_timedwait(cp,mp,&timeout); \
176 # define MI_MS(timeout) (((timeout)->tv_sec * 1000) + (timeout)->tv_usec)
200 # define FD_WR_READY(sd, excs, timeout) \
201 poll(&(wrs), 1, MI_MS(timeout))
203 # define FD_RD_READY(sd, rds, excs, timeout) \
204 poll(&(rds), 1, MI_MS(timeout))
228 # define FD_WR_READY(sd, wrs, timeout) \
229 select((sd) + 1, NULL, &(wrs), NULL, (timeout))
230 # define FD_RD_READY(sd, rds, excs, timeout) \
231 select((sd) + 1, &(rds), NULL, &(excs), (timeout))
238 #define MI_TIMEOUT 7210 /* default timeout for read/write */
256 #define SMFIC_TIMEOUT ((char) 1) /* timeout */