Home
last modified time | relevance | path

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

/external/drm_hwcomposer/
Dqueue_worker.h92 auto wait_func = [&] { return pred() || should_exit(); }; in WaitCond()
95 cond_.wait(lock, wait_func); in WaitCond()
98 ret = cond_.wait_for(lock, timeout, wait_func); in WaitCond()
114 auto wait_func = [&] { return !queue_.empty(); }; in Routine()
116 WaitCond(lk, wait_func, idled_out_ ? kTimeoutDisabled : idle_timeout_ms_); in Routine()
144 auto wait_func = [&] { return queue_.size() < max_queue_size_; }; in QueueWork()
145 int ret = WaitCond(lk, wait_func, queue_timeout_ms_); in QueueWork()
/external/perfetto/src/tracing/test/
Dmock_consumer.h39 FlushRequest(std::function<bool(void)> wait_func) : wait_func_(wait_func) {} in FlushRequest() argument
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py82 def _test_wait_multiple(self, wait_func): argument
86 wait_func()
98 def _test_wait_single(self, wait_func): argument
100 wait_func(proc.pid)