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
@@ -33,7 +33,7 @@
|
||||
#include "event/Loop.hxx"
|
||||
#include "event/Call.hxx"
|
||||
#include "event/InjectEvent.hxx"
|
||||
#include "event/TimerEvent.hxx"
|
||||
#include "event/CoarseTimerEvent.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
|
||||
@@ -62,7 +62,7 @@ class NfsStorage final
|
||||
NfsConnection *connection;
|
||||
|
||||
InjectEvent defer_connect;
|
||||
TimerEvent reconnect_timer;
|
||||
CoarseTimerEvent reconnect_timer;
|
||||
|
||||
Mutex mutex;
|
||||
Cond cond;
|
||||
|
Reference in New Issue
Block a user