Lines Matching refs:state
7 * These functions helps you wait till a process with given pid changes state.
19 * Waits for process state change.
21 * The state is one of the following:
29 #define TST_PROCESS_STATE_WAIT(pid, state, msec_timeout) \
31 (pid), (state), (msec_timeout))
40 * Waits for thread state change.
42 * The state is one of the following:
52 #define TST_THREAD_STATE_WAIT(tid, state, msec_timeout) \
53 tst_thread_state_wait((tid), (state), (msec_timeout))
55 int tst_thread_state_wait(pid_t tid, const char state,
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)
75 const char state, unsigned int msec_timeout);