event.h File Reference
#include "AsyncEngine.h"
#include "base/Packable.h"
#include "mem/forward.h"
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ev_entry
 
class  EventScheduler
 

Typedefs

typedef void EVH(void *)
 

Functions

void eventAdd (const char *name, EVH *func, void *arg, double when, int, bool cbdata=true)
 
void eventAddIsh (const char *name, EVH *func, void *arg, double delta_ish, int)
 
void eventDelete (EVH *func, void *arg)
 
void eventInit (void)
 
int eventFind (EVH *, void *)
 

Typedef Documentation

◆ EVH

typedef void EVH(void *)

Definition at line 18 of file event.h.

Function Documentation

◆ eventAdd()

void eventAdd ( const char *  name,
EVH func,
void *  arg,
double  when,
int  weight,
bool  cbdata = true 
)

Definition at line 107 of file event.cc.

References EventScheduler::GetInstance(), and EventScheduler::schedule().

Referenced by authenticateDigestNonceCacheCleanup(), authenticateDigestNonceSetup(), Rock::Rebuild::checkpoint(), Mem::CleanIdlePools(), clientdbAdd(), clientdbGC(), commPlanHalfClosedCheck(), Log::TcpLogger::connectDone(), TunnelStateData::copyRead(), IpcIoFile::DiskerHandleRequests(), SignalEngine::doShutdown(), eventAddIsh(), SignalEngine::FinalShutdownRunners(), fqdncache_purgelru(), idnsTickleQueue(), Fs::Ufs::UFSSwapDir::init(), DelayPools::InitDelayData(), Ipc::Inquirer::inquire(), ipcache_purgelru(), ClientInfo::kickQuotaQueue(), logfile_mod_daemon_open(), logfileFlushEvent(), mainInitialize(), mainReconfigureStart(), Store::Maintain(), IpcIoFile::open(), peerClearRRLoop(), peerCountMcastPeersCreateAndSend(), peerCountMcastPeersSchedule(), peerDigestSetCheck(), Fs::Ufs::UFSSwapDir::rebuild(), Comm::ConnOpener::retrySleep(), Auth::CredentialsCache::scheduleCleanup(), IpcIoFile::scheduleTimeoutCheck(), Adaptation::Icap::ServiceRep::scheduleUpdate(), Ipc::Forwarder::start(), HappyOrderEnforcer::startedWaiting(), Ipc::UdsSender::startSleep(), PeerSelectorPingMonitor::startWaiting(), statAvgTick(), statInit(), statObjects(), statObjectsStart(), storeCleanup(), storeDigestRebuildFinish(), storeDigestRebuildResume(), storeDigestRebuildStep(), storeDigestRewriteFinish(), storeDigestRewriteResume(), storeDigestSwapOutStep(), storeInit(), storeLateRelease(), storeRebuildComplete(), DelayPools::Update(), IpcIoFile::WaitBeforePop(), wccp2HandleUdp(), wccp2HereIam(), wccp2Init(), wccpHereIam(), and wccpInit().

◆ eventAddIsh()

void eventAddIsh ( const char *  name,
EVH func,
void *  arg,
double  delta_ish,
int  weight 
)

Definition at line 114 of file event.cc.

References eventAdd(), and RandomSeed32().

Referenced by netdbInit(), netdbSaveState(), peerDNSConfigure(), and peerRefreshDNS().

◆ eventDelete()

◆ eventFind()

◆ eventInit()

void eventInit ( void  )

Definition at line 133 of file event.cc.

References eventDump, and Mgr::RegisterAction().

Referenced by mainInitialize().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors