

Public Types | |
enum | CheckError { EVENT_IDLE = -1, EVENT_ERROR = -2 } |
Public Member Functions | |
virtual int | checkEvents (int timeout) |
Private Member Functions | |
void | doShutdown (time_t wait) |
void | handleStoppedChild () |
Static Private Member Functions | |
static void | StopEventLoop (void *) |
static void | FinalShutdownRunners (void *) |
Detailed Description
Member Enumeration Documentation
◆ CheckError
|
inherited |
Enumerator | |
---|---|
EVENT_IDLE | |
EVENT_ERROR |
Definition at line 26 of file AsyncEngine.h.
Member Function Documentation
◆ checkEvents()
Implements AsyncEngine.
Definition at line 237 of file main.cc.
References Config, do_handle_stopped_child, do_reconfigure, do_rotate, do_shutdown, doShutdown(), AsyncEngine::EVENT_IDLE, handleStoppedChild(), mainReconfigureStart(), mainRotate(), and SquidConfig::shutdownLifetime.
◆ doShutdown()
|
private |
Definition at line 282 of file main.cc.
References AvoidSignalAction(), StatCounters::client_http, DBG_IMPORTANT, debugs, do_shutdown, eventAdd(), FinalShutdownRunners(), IamMasterProcess(), Important, StatCounters::requests, RunRegisteredHere, serverConnectionsClose(), ShutdownSignal, shutting_down, RegisteredRunner::startShutdown(), statCounter, WIN32_svcstatusupdate(), and xstrerr().
Referenced by checkEvents().
◆ FinalShutdownRunners()
|
inlinestaticprivate |
Definition at line 215 of file main.cc.
References RegisteredRunner::endingShutdown(), eventAdd(), Auth::Scheme::FreeAll(), NULL, RunRegisteredHere, and StopEventLoop().
Referenced by doShutdown().
◆ handleStoppedChild()
|
private |
Definition at line 324 of file main.cc.
References do_handle_stopped_child, pid, and WaitForAnyPid().
Referenced by checkEvents().
◆ StopEventLoop()
|
inlinestaticprivate |
Definition at line 210 of file main.cc.
References EventLoop::Running, and EventLoop::stop().
Referenced by FinalShutdownRunners().
The documentation for this class was generated from the following file:
- src/main.cc