Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 #ifndef TIMEOUT_H
0003 #define TIMEOUT_H
0004 
0005 enum {
0006     /* Default timeout */
0007     TIMEOUT = 10 /* seconds */
0008 };
0009 
0010 void sigalrm(int signo);
0011 void timeout_begin(unsigned int seconds);
0012 void timeout_check(const char *operation);
0013 void timeout_end(void);
0014 
0015 #endif /* TIMEOUT_H */