mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +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>
16 lines
301 B
C
16 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 */
|