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:
Max Kellermann
2021-02-04 20:45:43 +01:00
committed by Max Kellermann
parent e802f1f61a
commit def962b6cb
14 changed files with 170 additions and 20 deletions

View File

@@ -31,7 +31,7 @@
#define CURL_GLOBAL_HXX
#include "Multi.hxx"
#include "event/TimerEvent.hxx"
#include "event/CoarseTimerEvent.hxx"
#include "event/DeferEvent.hxx"
class CurlSocket;
@@ -45,7 +45,7 @@ class CurlGlobal final {
DeferEvent defer_read_info;
TimerEvent timeout_event;
CoarseTimerEvent timeout_event;
public:
explicit CurlGlobal(EventLoop &_loop);