Searched refs:pollFd (Results 1 – 2 of 2) sorted by relevance
295 int EventServer::AddToMonitor(int pollFd, struct epoll_event pollEvents[]) in AddToMonitor() argument303 int ret = epoll_ctl(pollFd, EPOLL_CTL_ADD, it->first, &pollEvents[index]); in AddToMonitor()330 int pollFd = epoll_create1(EPOLL_CLOEXEC); in Start() local331 if (pollFd < 0) { in Start()337 if (AddToMonitor(pollFd, pollEvents) < 0) { in Start()345 … int eventCount = epoll_wait(pollFd, chkPollEvents, devs_.size(), -1); // -1: Wait indefinitely in Start()
67 int AddToMonitor(int pollFd, struct epoll_event pollEvents[]);