Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at d047248190d86a52164656d47bec9bfba61dc71e 16 lines 338 B view raw
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); 14int timeout_usleep(useconds_t usec); 15 16#endif /* TIMEOUT_H */