Cleaned up socket scheduling. Very clean now.

This commit is contained in:
Brad Arant committed 2022-03-15 21:02:35 +00:00
1 parent 4017ee9175
commit 3a6883e77f
8 files changed
+34 -45

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ namespace core {
Timer::Timer(EPoll &ePoll, double delay = 0.0f) : Socket(ePoll, "Timer") {
setDescriptor(timerfd_create(CLOCK_REALTIME, 0));
ePoll.registerSocket(this);
// ePoll.registerSocket(this);
setTimer(delay);
}