Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp120 static int wake_main_thread_fd = -1; variable
122 wake_main_thread_fd = eventfd(0, EFD_CLOEXEC); in InstallInitNotifier()
123 if (wake_main_thread_fd == -1) { in InstallInitNotifier()
128 TEMP_FAILURE_RETRY(read(wake_main_thread_fd, &counter, sizeof(counter))); in InstallInitNotifier()
131 if (auto result = epoll->RegisterHandler(wake_main_thread_fd, clear_eventfd); !result.ok()) { in InstallInitNotifier()
138 TEMP_FAILURE_RETRY(write(wake_main_thread_fd, &counter, sizeof(counter))); in WakeMainInitThread()