Home | History | Annotate | Download | only in pthread_mutex_timedlock

Lines Matching defs:TIMEOUT

11  * available.  The wait will end when the specified timeout time has expired.
13 * The timeout expires when the absolute time 'abs_timeout' passes, or if 'abs_timeout'
36 #define TIMEOUT 3 /* 3 seconds of timeout time for
89 if (time_diff.tv_sec < TIMEOUT) {
92 TIMEOUT);
112 struct timespec timeout;
118 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
119 timeout.tv_nsec = currsec1.tv_usec * 1000;
123 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec);
124 if (pthread_mutex_timedlock(&mutex, &timeout) != ETIMEDOUT) {