eventloop: move timers to an event loop fd

fixes #5481
This commit is contained in:
Vaxry
2024-04-07 21:55:14 +01:00
parent c0d283016b
commit 863c7b6072
3 changed files with 61 additions and 128 deletions

View File

@@ -1,5 +1,5 @@
#include "EventLoopTimer.hpp"
#include <numeric>
#include <limits>
#include "EventLoopManager.hpp"
CEventLoopTimer::CEventLoopTimer(std::optional<std::chrono::system_clock::duration> timeout, std::function<void(std::shared_ptr<CEventLoopTimer> self, void* data)> cb_,