Searched refs:watched_fds_ (Results 1 – 4 of 4) sorted by relevance
49 for (size_t i = 1; i < watched_fds_.size(); i++) { in ~SnapuserdServer()50 close(watched_fds_[i].fd); in ~SnapuserdServer()271 int rv = TEMP_FAILURE_RETRY(poll(watched_fds_.data(), watched_fds_.size(), -1)); in Run()280 if (watched_fds_[0].revents) { in Run()284 auto iter = watched_fds_.begin() + 1; in Run()285 while (iter != watched_fds_.end()) { in Run()288 iter = watched_fds_.erase(iter); in Run()318 watched_fds_.emplace_back(std::move(p)); in AddWatchedFd()
96 std::vector<struct pollfd> watched_fds_; variable
44 watched_fds_[file_descriptor] = on_read_fd_ready_callback; in WatchFdForNonBlockingReads()97 watched_fds_.clear(); in stopThread()134 for (auto& it : watched_fds_) { in ThreadRoutine()179 for (auto& it : watched_fds_) { in ThreadRoutine()
56 std::map<int, ReadCallback> watched_fds_; variable