Searched refs:msec_timeout (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/include/ |
D | tst_process_state.h | 29 #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);
|
D | tst_checkpoint_fn.h | 22 int tst_checkpoint_wait(unsigned int id, unsigned int msec_timeout); 32 unsigned int msec_timeout); 36 unsigned int msec_timeout);
|
D | tst_checkpoint.h | 13 #define TST_CHECKPOINT_WAIT2(id, msec_timeout) \ argument 14 tst_safe_checkpoint_wait(__FILE__, __LINE__, NULL, id, msec_timeout)
|
/third_party/ltp/lib/ |
D | tst_checkpoint.c | 83 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()
|
D | tst_process_state.c | 16 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()
|
D | tst_thread_state.c | 15 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/ |
D | old_checkpoint.h | 46 #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/ |
D | C-Test-API.asciidoc | 735 TST_CHECKPOINT_WAIT2(id, msec_timeout) 788 TST_PROCESS_STATE_WAIT(pid, state, msec_timeout)
|
D | c-test-api.txt | 684 TST_CHECKPOINT_WAIT2(id, msec_timeout) 737 TST_PROCESS_STATE_WAIT(pid, state, msec_timeout)
|