Lines Matching refs:hdl
43 void EventHandler::EventDispatch(EventHandler *hdl)
45 if (hdl == nullptr) {
48 std::unique_lock<std::mutex> lock(hdl->mtx_);
49 hdl->running_ = true;
50 while (hdl->running_) {
51 if (hdl->msgQ_.empty()) {
52 hdl->cv_.wait(lock); // wait for task or exit signal
54 auto mission = hdl->msgQ_.front();
55 hdl->msgQ_.pop();
63 while (!hdl->msgQ_.empty()) {
64 auto mission = hdl->msgQ_.front();
65 hdl->msgQ_.pop();