SpiecsEngine
 
Loading...
Searching...
No Matches

◆ FillActiveChannels()

void Spices::Net::EPollPoller::FillActiveChannels ( int numEvents,
ChannelList * activeChannels ) const
private

Fill REvents to ChannelList.

Parameters
[in]numEvents.
[in]activeChannelsChannelList.

Definition at line 101 of file EPollPoller.cpp.

102 {
103 for (int i = 0; i < numEvents; ++i)
104 {
105 Channel* channel = static_cast<Channel*>(m_Events[i].data.ptr);
106 channel->SetRevents(m_Events[i].events);
107 activeChannels->push_back(channel);
108 }
109 }
EventList m_Events
EventList.