Searched refs:tasks_ (Results 1 – 2 of 2) sorted by relevance
39 …: tasks_(new std::queue<OnceClosure>()), thread_(thread), fd_(eventfd(0, EFD_SEMAPHORE | EFD_NONBL… in Handler()63 tasks_->emplace(std::move(closure)); in Post()75 std::swap(tasks_, tmp); in Clear()104 closure = std::move(tasks_->front()); in handle_next_event()105 tasks_->pop(); in handle_next_event()
101 return tasks_ == nullptr; in was_cleared()103 std::queue<common::OnceClosure>* tasks_; variable