Home
last modified time | relevance | path

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

/base/startup/init/services/loopevent/loop/
Dle_epoll.c99 int number = epoll_wait(epoll->epollFd, epoll->waitEvents, loop->maxevents, -1); in RunLoop_()
101 if ((epoll->waitEvents[index].events & EPOLLIN) == EPOLLIN) { in RunLoop_()
102 ProcessEvent(loop, epoll->waitEvents[index].data.fd, Event_Read); in RunLoop_()
104 if ((epoll->waitEvents[index].events & EPOLLOUT) == EPOLLOUT) { in RunLoop_()
105 ProcessEvent(loop, epoll->waitEvents[index].data.fd, Event_Write); in RunLoop_()
107 if ((epoll->waitEvents[index].events & EPOLLERR) == EPOLLERR) { in RunLoop_()
108 LE_LOGV("RunLoop_ error %d", epoll->waitEvents[index].data.fd); in RunLoop_()
109 ProcessEvent(loop, epoll->waitEvents[index].data.fd, Event_Error); in RunLoop_()
111 if ((epoll->waitEvents[index].events & EPOLLHUP) == EPOLLHUP) { in RunLoop_()
112 LE_LOGV("RunLoop_ error %d", epoll->waitEvents[index].data.fd); in RunLoop_()
[all …]
Dle_epoll.h25 struct epoll_event waitEvents[0]; member