Conversion to listless socket management.

This commit is contained in:
Brad Arant committed 2020-04-25 10:24:25 -07:00
1 parent 796ddd511f
commit cb7a556edf
5 files changed
+37 -80

No files matched your search

+3 -2
View File
@@ -59,8 +59,9 @@ namespace core {
break;
} else if(rc > 0) {
for(int ix = 0; ix < rc; ++ix) {
++count;
ePoll.eventReceived(events[ix], threadId);
++count;
if(((Socket *)events[ix].data.ptr)->eventReceived(events[ix]))
ePoll.resetSocket((Socket *)events[ix].data.ptr);
}
}
}