process-util: add pidref-based version of wait_for_terminate_and_check()
This commit is contained in:
committed by
Yu Watanabe
parent
f5c626df2c
commit
4ecc87bf1c
@@ -75,7 +75,9 @@ typedef enum WaitFlags {
|
||||
WAIT_LOG = WAIT_LOG_ABNORMAL|WAIT_LOG_NON_ZERO_EXIT_STATUS,
|
||||
} WaitFlags;
|
||||
|
||||
int pidref_wait_for_terminate_and_check(const char *name, PidRef *pidref, WaitFlags flags);
|
||||
int wait_for_terminate_and_check(const char *name, pid_t pid, WaitFlags flags);
|
||||
|
||||
int wait_for_terminate_with_timeout(pid_t pid, usec_t timeout);
|
||||
|
||||
void sigkill_wait(pid_t pid);
|
||||
|
||||
Reference in New Issue
Block a user