Searched refs:cancel_watchdog (Results 1 – 1 of 1) sorted by relevance
138 std::thread SetTimeoutWatchDog(pid_t pid, int64_t timeout_ms, std::atomic<bool>& cancel_watchdog) { in SetTimeoutWatchDog() argument139 std::thread watchdog_thread{[pid, timeout_ms, &cancel_watchdog]() { in SetTimeoutWatchDog()142 while (!cancel_watchdog) { in SetTimeoutWatchDog()179 std::atomic<bool> cancel_watchdog(false); in StartViaFork() local180 std::thread watchdog_thread = SetTimeoutWatchDog(child, compiler_timeout_ms, cancel_watchdog); in StartViaFork()186 cancel_watchdog = true; in StartViaFork()