Poll events on EventList.
29 {
31 const int saveErrno = WSAGetLastError();
32
33 if (numEvents > 0)
34 {
36
38 {
40 }
41 }
42 else if (numEvents == 0)
43 {
44 SPICES_CORE_INFO("EPollPoller::Poll timeout")
45 }
46 else
47 {
48 if (saveErrno != ERROR_OPERATION_ABORTED)
49 {
50 std::stringstream ss;
51 ss << "EPollPoller::Poll Error: " << saveErrno;
52
53 SPICES_CORE_ERROR(ss.str())
54 }
55 }
56 }
HANDLE m_EPollFd
EPoll fd.
EventList m_Events
EventList.
void FillActiveChannels(int numEvents, ChannelList *activeChannels) const
Fill REvents to ChannelList.