mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08: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 */
|