mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
ce1c7f84e2
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
301 B
C
15 lines
301 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#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 */
|