Searched refs:timeout (Results 1 – 5 of 5) sorted by relevance
236 int ev_wait(int timeout) { in ev_wait() argument237 g_polled_events_count = epoll_wait(g_epoll_fd, g_polled_events, g_ev_count, timeout); in ev_wait()
146 static bool WaitForSocketClose(int fd, std::chrono::milliseconds timeout) { in WaitForSocketClose() argument148 const auto end = begin + timeout; in WaitForSocketClose()
167 int ev_wait(int timeout);
887 const unsigned timeout = 500; // 10ms increments in InitGraphics() local888 for (auto retry = timeout; retry > 0; --retry) { in InitGraphics()890 if (retry < timeout) { in InitGraphics()892 LOG(WARNING) << "wait for 'graphics' took " << ((timeout - retry) * 10) << "ms"; in InitGraphics()899 LOG(ERROR) << "timeout wait for 'graphics' took " << (timeout * 10) << "ms"; in InitGraphics()
330 finish_log_temperature.wait_for(lck, 20s) == std::cv_status::timeout) { in log_max_temperature()