A commit before I change everything on the the way events are handled.
This commit is contained in:
1 parent
28292e924a
commit
796ddd511f
7 files changed
+65
-41
No files matched your search
+2
-8
@@ -59,18 +59,12 @@ namespace core {
|
||||
break;
|
||||
} else if(rc > 0) {
|
||||
for(int ix = 0; ix < rc; ++ix) {
|
||||
++count;
|
||||
// std::cout << "Event " << events[ix].events << " on socket " << events[ix].data.fd << " on thread " << getThreadId() << ": ";
|
||||
// std::cout << ((events[ix].events & EPOLLIN) ? "EPOLLIN ": "");
|
||||
// std::cout << ((events[ix].events & EPOLLWRNORM) ? "EPOLLWRNORM ": "");
|
||||
// std::cout << ((events[ix].events & EPOLLRDHUP) ? "EPOLLRDHUP ": "");
|
||||
// std::cout << ((events[ix].events & EPOLLHUP) ? "EPOLLHUP ": "");
|
||||
// std::cout << "." << std::endl;
|
||||
++count;
|
||||
ePoll.eventReceived(events[ix], threadId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
coreutils::Log(coreutils::LOG_DEBUG_1) << "Thread ending with thread id " << threadId << ".";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user