X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FTimerSource.cc;h=df05438a7ff1e83a3ade6486c22903cf17771c28;hb=6b43243d9b1a3b9720efdacc6f02364877ebe2aa;hp=35e6a5a93611391d22a18b908f4c3f98fe68fe24;hpb=d498c7507e2eaa191e859ae525df97dc257e0d7a;p=senf.git diff --git a/Scheduler/TimerSource.cc b/Scheduler/TimerSource.cc index 35e6a5a..df05438 100644 --- a/Scheduler/TimerSource.cc +++ b/Scheduler/TimerSource.cc @@ -27,7 +27,7 @@ //#include "TimerSource.ih" // Custom includes -#include "FdEvent.hh" +#include "IdleEvent.hh" #ifdef HAVE_TIMERFD #include #endif @@ -157,12 +157,12 @@ prefix_ void senf::scheduler::detail::PollTimerSource::timeout(ClockService::clo { ClockService::clock_type now (ClockService::now()); int delay (ClockService::in_milliseconds(timeout-now)+1); - FileDispatcher::instance().timeout(delay<0?0:delay); + IdleEventDispatcher::instance().timeout(delay<0?0:delay); } prefix_ void senf::scheduler::detail::PollTimerSource::notimeout() { - FileDispatcher::instance().timeout(-1); + IdleEventDispatcher::instance().timeout(-1); } prefix_ void senf::scheduler::detail::PollTimerSource::enable()