Lines Matching refs:pid
7 * These functions helps you wait till a process with given pid changes state.
29 #define TST_PROCESS_STATE_WAIT(pid, state, msec_timeout) \
31 (pid), (state), (msec_timeout))
34 * Check that a given pid is present on the system
36 #define TST_PROCESS_EXIT_WAIT(pid, msec_timeout) \
37 tst_process_exit_wait((pid), (msec_timeout))
66 int tst_process_state_wait2(pid_t pid, const char state);
68 #define TST_PROCESS_STATE_WAIT(cleanup_fn, pid, state) \
70 (pid), (state), 0)
74 void (*cleanup_fn)(void), pid_t pid,
76 int tst_process_exit_wait(pid_t pid, unsigned int msec_timeout);