Searched refs:pollfd (Results 1 – 3 of 3) sorted by relevance
43 std::unique_ptr<pollfd[]> pollfds = std::make_unique<pollfd[]>(n); in syncPoll()
158 StructPollfd pollfd = new StructPollfd(); in checkPing() local159 pollfd.events = (short) POLLIN; in checkPing()160 pollfd.fd = socket; in checkPing()161 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
313 StructPollfd pollfd = new StructPollfd(); in checkPing() local314 pollfd.events = (short) POLLIN; // "error: possible loss of precision" in checkPing()315 pollfd.fd = s; in checkPing()316 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()