mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
15 lines
257 B
C
15 lines
257 B
C
|
#ifndef TIMEOUT_H
|
||
|
#define TIMEOUT_H
|
||
|
|
||
|
enum {
|
||
|
/* Default timeout */
|
||
|
TIMEOUT = 10 /* seconds */
|
||
|
};
|
||
|
|
||
|
void sigalrm(int signo);
|
||
|
void timeout_begin(unsigned int seconds);
|
||
|
void timeout_check(const char *operation);
|
||
|
void timeout_end(void);
|
||
|
|
||
|
#endif /* TIMEOUT_H */
|