Home
last modified time | relevance | path

Searched refs:pollFd (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/core/
Devent_server.cpp295 int EventServer::AddToMonitor(int pollFd, struct epoll_event pollEvents[]) in AddToMonitor() argument
303 int ret = epoll_ctl(pollFd, EPOLL_CTL_ADD, it->first, &pollEvents[index]); in AddToMonitor()
330 int pollFd = epoll_create1(EPOLL_CLOEXEC); in Start() local
331 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()
Devent_server.h67 int AddToMonitor(int pollFd, struct epoll_event pollEvents[]);