Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef TIMEOUT_H
 3#define TIMEOUT_H
 4
 5enum {
 6	/* Default timeout */
 7	TIMEOUT = 10 /* seconds */
 8};
 9
10void sigalrm(int signo);
11void timeout_begin(unsigned int seconds);
12void timeout_check(const char *operation);
13void timeout_end(void);
14
15#endif /* TIMEOUT_H */
v4.17
 
 1#ifndef TIMEOUT_H
 2#define TIMEOUT_H
 3
 4enum {
 5	/* Default timeout */
 6	TIMEOUT = 10 /* seconds */
 7};
 8
 9void sigalrm(int signo);
10void timeout_begin(unsigned int seconds);
11void timeout_check(const char *operation);
12void timeout_end(void);
13
14#endif /* TIMEOUT_H */