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
@@ -25,7 +25,7 @@
|
||||
#include "command/CommandListBuilder.hxx"
|
||||
#include "tag/Mask.hxx"
|
||||
#include "event/FullyBufferedSocket.hxx"
|
||||
#include "event/TimerEvent.hxx"
|
||||
#include "event/CoarseTimerEvent.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <boost/intrusive/link_mode.hpp>
|
||||
@@ -54,7 +54,7 @@ class Client final
|
||||
public boost::intrusive::list_base_hook<boost::intrusive::tag<Partition>,
|
||||
boost::intrusive::link_mode<boost::intrusive::normal_link>>,
|
||||
public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>> {
|
||||
TimerEvent timeout_event;
|
||||
CoarseTimerEvent timeout_event;
|
||||
|
||||
Partition *partition;
|
||||
|
||||
|
Reference in New Issue
Block a user