Searched refs:pollfd (Results 1 – 5 of 5) sorted by relevance
43 std::unique_ptr<pollfd[]> pollfds = std::make_unique<pollfd[]>(n); in syncPoll()
197 StructPollfd pollfd = new StructPollfd(); in checkPing() local198 pollfd.events = (short) POLLIN; in checkPing()199 pollfd.fd = socket; in checkPing()200 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
325 StructPollfd pollfd = new StructPollfd(); in checkPing() local326 pollfd.events = (short) POLLIN; // "error: possible loss of precision" in checkPing()327 pollfd.fd = s; in checkPing()328 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
38 struct pollfd wait_fd[1]; in getAsyncResponse()
78 struct pollfd wait_fd = { .fd = fd, .events = POLLIN }; in getAsyncResponse()