Searched refs:maxevents (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/services/loopevent/loop/ |
D | le_epoll.c | 97 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()
|
D | le_loop.c | 52 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_()
|
D | le_epoll.h | 28 LE_STATUS CreateEpollLoop(EventLoop **loop, uint32_t maxevents, uint32_t timeout);
|
D | le_loop.h | 37 uint32_t maxevents; member
|