Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp137 static int wake_main_thread_fd = -1; variable
139 wake_main_thread_fd = eventfd(0, EFD_CLOEXEC); in InstallInitNotifier()
140 if (wake_main_thread_fd == -1) { in InstallInitNotifier()
145 TEMP_FAILURE_RETRY(read(wake_main_thread_fd, &counter, sizeof(counter))); in InstallInitNotifier()
148 if (auto result = epoll->RegisterHandler(wake_main_thread_fd, clear_eventfd); !result.ok()) { in InstallInitNotifier()
155 TEMP_FAILURE_RETRY(write(wake_main_thread_fd, &counter, sizeof(counter))); in WakeMainInitThread()