diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-14 22:57:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 22:57:57 +0100 |
commit | f78a88beca362e62ca242499950a097fbcdb10d2 (patch) | |
tree | 96a551327e215ebef8dbb3dc850b513cbb6d1c77 /src/basic/process-util.h | |
parent | e3140015a71632f9fef699b38094ad3a75fa45ed (diff) | |
parent | 73ad712fcfea5d8ba475044698d31d2c15d4180d (diff) | |
download | systemd-f78a88beca362e62ca242499950a097fbcdb10d2.tar.gz systemd-f78a88beca362e62ca242499950a097fbcdb10d2.tar.bz2 systemd-f78a88beca362e62ca242499950a097fbcdb10d2.zip |
Merge pull request #6598 from kyle-walker/shutdown-limit
core: Limit the time and attempts in shutdown remount/umount efforts
Diffstat (limited to 'src/basic/process-util.h')
-rw-r--r-- | src/basic/process-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/process-util.h b/src/basic/process-util.h index b413e7fee5..1b7e692060 100644 --- a/src/basic/process-util.h +++ b/src/basic/process-util.h @@ -33,6 +33,7 @@ #include "format-util.h" #include "ioprio.h" #include "macro.h" +#include "time-util.h" #define procfs_file_alloca(pid, field) \ ({ \ @@ -61,6 +62,7 @@ int get_process_ppid(pid_t pid, pid_t *ppid); int wait_for_terminate(pid_t pid, siginfo_t *status); int wait_for_terminate_and_warn(const char *name, pid_t pid, bool check_exit_code); +int wait_for_terminate_with_timeout(pid_t pid, usec_t timeout); void sigkill_wait(pid_t pid); void sigkill_waitp(pid_t *pid); |