Home
last modified time | relevance | path

Searched refs:process_needs_restart (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Dinit.cpp80 static time_t process_needs_restart; variable
137 process_needs_restart = 0; in restart_processes()
140 s->RestartIfNeeded(process_needs_restart); in restart_processes()
727 if (process_needs_restart) { in main()
728 timeout = (process_needs_restart - gettime()) * 1000; in main()
Dservice.cpp541 void Service::RestartIfNeeded(time_t& process_needs_restart) { in RestartIfNeeded() argument
550 if ((next_start_time < process_needs_restart) || in RestartIfNeeded()
551 (process_needs_restart == 0)) { in RestartIfNeeded()
552 process_needs_restart = next_start_time; in RestartIfNeeded()
Dservice.h86 void RestartIfNeeded(time_t& process_needs_restart);