Lines Matching full:timeout
1 /* Timeout API for single-threaded programs that use blocking
16 * timeout_begin(TIMEOUT);
28 #include "timeout.h"
30 static volatile bool timeout; variable
38 timeout = true; in sigalrm()
41 /* Start a timeout. Call timeout_check() to verify that the timeout hasn't
42 * expired. timeout_end() must be called to stop the timeout. Timeouts cannot
50 /* Exit with an error message if the timeout has expired */
53 if (timeout) { in timeout_check()
59 /* Stop a timeout */
63 timeout = false; in timeout_end()