9#ifndef SQUID_SRC_EVENT_H
10#define SQUID_SRC_EVENT_H
14#include "mem/forward.h"
18typedef void EVH(
void *);
20void eventAdd(
const char *name,
EVH * func,
void *arg,
double when,
int,
bool cbdata=
true);
21void eventAddIsh(
const char *name,
EVH * func,
void *arg,
double delta_ish,
int);
60 bool find(
EVH * func,
void * arg);
62 void schedule(
const char *name,
EVH * func,
void *arg,
double when,
int weight,
bool cbdata=
true);
static EventScheduler * GetInstance()
bool find(EVH *func, void *arg)
void schedule(const char *name, EVH *func, void *arg, double when, int weight, bool cbdata=true)
static EventScheduler _instance
void cancel(EVH *func, void *arg)
int timeRemaining() const
int checkEvents(int timeout) override
~EventScheduler() override
int eventFind(EVH *, void *)
void eventAddIsh(const char *name, EVH *func, void *arg, double delta_ish, int)
void eventDelete(EVH *func, void *arg)
void eventAdd(const char *name, EVH *func, void *arg, double when, int, bool cbdata=true)