Home
last modified time | relevance | path

Searched refs:msec_timeout (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/include/
Dtst_process_state.h29 #define TST_PROCESS_STATE_WAIT(pid, state, msec_timeout) \ argument
31 (pid), (state), (msec_timeout))
36 #define TST_PROCESS_EXIT_WAIT(pid, msec_timeout) \ argument
37 tst_process_exit_wait((pid), (msec_timeout))
52 #define TST_THREAD_STATE_WAIT(tid, state, msec_timeout) \ argument
53 tst_thread_state_wait((tid), (state), (msec_timeout))
56 unsigned int msec_timeout);
75 const char state, unsigned int msec_timeout);
76 int tst_process_exit_wait(pid_t pid, unsigned int msec_timeout);
Dtst_checkpoint_fn.h22 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout);
32 unsigned int msec_timeout);
36 unsigned int msec_timeout);
Dtst_checkpoint.h13 #define TST_CHECKPOINT_WAIT2(id, msec_timeout) \ argument
14 tst_safe_checkpoint_wait(__FILE__, __LINE__, NULL, id, msec_timeout)
/third_party/ltp/lib/
Dtst_checkpoint.c83 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout) in tst_checkpoint_wait() argument
96 timeout.tv_sec = msec_timeout/1000; in tst_checkpoint_wait()
97 timeout.tv_nsec = (msec_timeout%1000) * 1000000; in tst_checkpoint_wait()
108 unsigned int msec_timeout) in tst_checkpoint_wake() argument
130 if (msecs >= msec_timeout) { in tst_checkpoint_wake()
141 unsigned int msec_timeout) in tst_safe_checkpoint_wait() argument
145 if (!msec_timeout) in tst_safe_checkpoint_wait()
146 msec_timeout = DEFAULT_MSEC_TIMEOUT; in tst_safe_checkpoint_wait()
148 ret = tst_checkpoint_wait(id, msec_timeout); in tst_safe_checkpoint_wait()
153 msec_timeout); in tst_safe_checkpoint_wait()
Dtst_process_state.c16 const char state, unsigned int msec_timeout) in tst_process_state_wait() argument
33 if (msec_timeout && msecs >= msec_timeout) { in tst_process_state_wait()
72 int tst_process_exit_wait(pid_t pid, unsigned int msec_timeout) in tst_process_exit_wait() argument
83 if (msec_timeout && msecs >= msec_timeout) { in tst_process_exit_wait()
Dtst_thread_state.c15 unsigned int msec_timeout) in tst_thread_state_wait() argument
31 if (msec_timeout && msecs >= msec_timeout) { in tst_thread_state_wait()
/third_party/ltp/include/old/
Dold_checkpoint.h46 #define TST_SAFE_CHECKPOINT_WAIT2(cleanup_fn, id, msec_timeout) \ argument
47 tst_safe_checkpoint_wait(__FILE__, __LINE__, cleanup_fn, id, msec_timeout);
/third_party/ltp/doc/
DC-Test-API.asciidoc735 TST_CHECKPOINT_WAIT2(id, msec_timeout)
788 TST_PROCESS_STATE_WAIT(pid, state, msec_timeout)
Dc-test-api.txt684 TST_CHECKPOINT_WAIT2(id, msec_timeout)
737 TST_PROCESS_STATE_WAIT(pid, state, msec_timeout)