Continued restructing.
This commit is contained in:
1 parent
5e5e626d28
commit
a46db126e9
294 files changed
+2455
-2189
No files matched your search
+8
-2
@@ -38,7 +38,7 @@ namespace core {
|
||||
|
||||
threadId = syscall(SYS_gettid);
|
||||
|
||||
Log(LOG_DEBUG_1) << "Thread started with thread id " << threadId << ".";
|
||||
coreutils::Log(coreutils::LOG_DEBUG_1) << "Thread started with thread id " << threadId << ".";
|
||||
|
||||
count = 0;
|
||||
|
||||
@@ -59,7 +59,13 @@ namespace core {
|
||||
break;
|
||||
} else if(rc > 0) {
|
||||
for(int ix = 0; ix < rc; ++ix) {
|
||||
++count;
|
||||
++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 & EPOLLOUT) ? "EPOLLOUT ": "");
|
||||
// std::cout << ((events[ix].events & EPOLLRDHUP) ? "EPOLLRDHUP ": "");
|
||||
// std::cout << ((events[ix].events & EPOLLHUP) ? "EPOLLHUP ": "");
|
||||
// std::cout << "." << std::endl;
|
||||
ePoll.eventReceived(events[ix]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user