Major changes to socket scheduling in EPoll.

This commit is contained in:
barant committed 2020-02-29 19:27:58 -08:00
1 parent 790906a6dc
commit a5a51f8aae
512 files changed
+22663 -2121

No files matched your search

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