Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/modem_simulator/
Dthread_looper.cpp59 for (auto iter = queue_.begin(); iter != queue_.end(); ++iter) { in CancelSerial()
61 queue_.erase(iter); in CancelSerial()
75 auto iter = queue_.begin(); in Insert()
76 while (iter != queue_.end() && *iter <= event) { in Insert()
80 queue_.insert(iter, event); in Insert()
94 if (queue_.empty()) { in ThreadLoop()
99 auto time_to_wait = queue_.front().when - std::chrono::steady_clock::now(); in ThreadLoop()
107 cb = queue_.front().cb; // callback at front of queue in ThreadLoop()
108 queue_.pop_front(); in ThreadLoop()
Dthread_looper.h84 std::deque<Event> queue_; variable