event/{Coarse,Fine,Far}TimerEvent: aliases for TimerEvent
Preparing for a variant of TimerEvent with coarse 1-second granularity, but cheaper (with a timer wheel).
This commit is contained in:

committed by
Max Kellermann

parent
e802f1f61a
commit
def962b6cb
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "AvahiPoll.hxx"
|
||||
#include "event/SocketEvent.hxx"
|
||||
#include "event/TimerEvent.hxx"
|
||||
#include "event/CoarseTimerEvent.hxx"
|
||||
#include "time/Convert.hxx"
|
||||
|
||||
static unsigned
|
||||
@@ -77,7 +77,7 @@ private:
|
||||
};
|
||||
|
||||
struct AvahiTimeout final {
|
||||
TimerEvent timer;
|
||||
CoarseTimerEvent timer;
|
||||
|
||||
const AvahiTimeoutCallback callback;
|
||||
void *const userdata;
|
||||
|
Reference in New Issue
Block a user