Lines Matching refs:TIMEOUT
40 #define TIMEOUT 3
74 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
77 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT);
135 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
173 /* If the shared data is not altered by child after TIMEOUT*2 seconds,
180 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
191 if (time_diff.tv_sec < TIMEOUT) {
195 TIMEOUT, (long)time_diff.tv_sec,
238 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
249 if (time_diff.tv_sec < TIMEOUT) {