xref: /linux/tools/testing/vsock/timeout.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 #ifndef TIMEOUT_H
2 #define TIMEOUT_H
3 
4 enum {
5 	/* Default timeout */
6 	TIMEOUT = 10 /* seconds */
7 };
8 
9 void sigalrm(int signo);
10 void timeout_begin(unsigned int seconds);
11 void timeout_check(const char *operation);
12 void timeout_end(void);
13 
14 #endif /* TIMEOUT_H */
15