Searched refs:reboot_semaphore (Results 1 – 1 of 1) sorted by relevance
/system/core/init/ |
D | reboot.cpp | 323 sem_t* reboot_semaphore, std::chrono::milliseconds shutdown_timeout, in RebootMonitorThread() argument 335 if (TEMP_FAILURE_RETRY(sem_wait(reboot_semaphore)) == -1) { in RebootMonitorThread() 353 while ((sem_return = sem_timedwait_monotonic_np(reboot_semaphore, in RebootMonitorThread() 417 std::chrono::milliseconds timeout, sem_t* reboot_semaphore) { in TryUmountAndFsck() argument 438 sem_post(reboot_semaphore); in TryUmountAndFsck() 447 sem_post(reboot_semaphore); in TryUmountAndFsck() 585 sem_t reboot_semaphore; in DoReboot() local 586 if (sem_init(&reboot_semaphore, false, 0) == -1) { in DoReboot() 595 std::thread reboot_monitor_thread(&RebootMonitorThread, cmd, reboot_target, &reboot_semaphore, in DoReboot() 600 sem_post(&reboot_semaphore); in DoReboot() [all …]
|