Lines Matching full:timeout
2 /* Timeout API for single-threaded programs that use blocking
12 * timeout_begin(TIMEOUT);
24 #include "timeout.h"
26 static volatile bool timeout; variable
34 timeout = true; in sigalrm()
37 /* Start a timeout. Call timeout_check() to verify that the timeout hasn't
38 * expired. timeout_end() must be called to stop the timeout. Timeouts cannot
46 /* Exit with an error message if the timeout has expired */
49 if (timeout) { in timeout_check()
55 /* Stop a timeout */
59 timeout = false; in timeout_end()