Searched refs:DispatchType (Results 1 – 1 of 1) sorted by relevance
146 enum DispatchType : uint32_t { TIMER, TERMINATE, MAX_DISPATCH_TYPE }; in dispatch() enum149 timerEvent.data.u32 = DispatchType::TIMER; in dispatch()157 terminateEvent.data.u32 = DispatchType::TERMINATE; in dispatch()170 epoll_event events[DispatchType::MAX_DISPATCH_TYPE]; in dispatch()171 int nfds = epoll_wait(mEpollFd, events, DispatchType::MAX_DISPATCH_TYPE, -1); in dispatch()188 if (events[i].data.u32 == DispatchType::TIMER) { in dispatch()204 if (events[i].data.u32 == DispatchType::TERMINATE) { in dispatch()