Lines Matching defs:timeout
65 * script's absolute timeout value. the first timeout is set to SCRIPT_TIMEOUT
66 * seconds from the time it is started. SIGTERM is sent on the first timeout
67 * the second timeout is set to SCRIPT_TIMEOUT_GRACE from the first timeout
68 * and SIGKILL is sent on the second timeout.
70 static time_t timeout;
87 if (now < timeout)
88 (void) alarm(timeout - now);
105 timeout = time(NULL) + SCRIPT_TIMEOUT_GRACE;
150 * the first timeout fires SCRIPT_TIMEOUT seconds from now.
152 timeout = time(NULL) + SCRIPT_TIMEOUT;
172 if (now >= timeout) {
180 timeout = now + SCRIPT_TIMEOUT_GRACE;