Searched refs:pollfds (Results 1 – 2 of 2) sorted by relevance
167 let pollfds: &mut [libc::pollfd; MAX_CLIENT_FD_COUNT] = in wrap_poll() localVariable170 pollfds[index].fd = node.fd; in wrap_poll()171 pollfds[index].events = node.events; in wrap_poll()172 pollfds[index].revents = node.revents; in wrap_poll()175 let ret = poll(pollfds.as_mut_ptr(), size as libc::nfds_t, timeout); in wrap_poll()180 fds[i].revents = pollfds[i].revents; in wrap_poll()181 fds[i].events = pollfds[i].events; in wrap_poll()
631 std::vector<struct pollfd> pollfds; in FdEventPollThread() local636 pollfds.clear(); in FdEventPollThread()642 pollfds.push_back(pollFd); in FdEventPollThread()647 pollfds.push_back(pollFd); in FdEventPollThread()648 size = pollfds.size(); in FdEventPollThread()651 poll(&pollfds[0], size, -1); in FdEventPollThread()652 for (const auto &pollfdsing : pollfds) { in FdEventPollThread()