Home
last modified time | relevance | path

Searched refs:maxevents (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/services/loopevent/loop/
Dle_epoll.c97 int number = epoll_wait(epoll->epollFd, epoll->waitEvents, loop->maxevents, -1); in RunLoop_()
121 LE_STATUS CreateEpollLoop(EventLoop **loop, uint32_t maxevents, uint32_t timeout) in CreateEpollLoop() argument
124 …Epoll *epoll = (EventEpoll *)malloc(sizeof(EventEpoll) + sizeof(struct epoll_event) * (maxevents)); in CreateEpollLoop()
126 epoll->epollFd = epoll_create(maxevents); in CreateEpollLoop()
131 epoll->loop.maxevents = maxevents; in CreateEpollLoop()
Dle_loop.c52 static LE_STATUS CreateLoop_(EventLoop **loop, uint32_t maxevents, uint32_t timeout) in CreateLoop_() argument
55 LE_STATUS ret = CreateEpollLoop(loop, maxevents, timeout); in CreateLoop_()
58 (*loop)->maxevents = maxevents; in CreateLoop_()
Dle_epoll.h28 LE_STATUS CreateEpollLoop(EventLoop **loop, uint32_t maxevents, uint32_t timeout);
Dle_loop.h37 uint32_t maxevents; member