Searched refs:pollFds (Results 1 – 1 of 1) sorted by relevance
198 std::vector<pollfd> pollFds; in run() local200 auto removePollFdAt = [&socketCallbacksByFd, &pollFds](size_t i) { in run()201 if (i + 1 == pollFds.size()) { in run()202 pollFds.pop_back(); in run()209 pollFds[i] = pollFds.back(); in run()210 pollFds.pop_back(); in run()211 socketCallbacksByFd[pollFds[i].fd].mPollFdIndex = i; in run()216 pollFds.push_back({ mControlFds[0], POLLIN, 0 }); in run()238 socketCallbacksByFd[sock] = { fn, nullptr, pollFds.size() }; in run()239 pollFds.push_back({ sock, POLLIN, 0 }); in run()[all …]