Searched refs:timeout_secs (Results 1 – 2 of 2) sorted by relevance
279 bool waitpid_with_timeout(pid_t pid, int timeout_secs, int* status) { in waitpid_with_timeout() argument289 timespec ts = {.tv_sec = timeout_secs, .tv_nsec = 0}; in waitpid_with_timeout()323 int runCommand(int timeout_secs, const char* file, std::vector<const char*> args) { in runCommand() argument352 bool ret = waitpid_with_timeout(pid, timeout_secs, &status); in runCommand()
369 let timeout_secs = value_t!(matches, "timeout", u64); in main() localVariable455 if let Ok(timeout_secs) = timeout_secs { in main()456 let timeout_duration = Duration::from_secs(timeout_secs); in main()