

Public Types | |
enum | CheckError { EVENT_IDLE = -1 , EVENT_ERROR = -2 } |
Public Member Functions | |
int | checkEvents (int timeout) override |
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 225 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 270 of file main.cc.
References AvoidSignalAction(), StatCounters::client_http, debugs, do_shutdown, eventAdd(), FinalShutdownRunners(), Important, StatCounters::requests, RunRegisteredHere, serverConnectionsClose(), shutting_down, RegisteredRunner::startShutdown(), statCounter, and WIN32_svcstatusupdate().
Referenced by checkEvents().
◆ FinalShutdownRunners()
|
inlinestaticprivate |
Definition at line 208 of file main.cc.
References RegisteredRunner::endingShutdown(), eventAdd(), Auth::Scheme::FreeAll(), RunRegisteredHere, and StopEventLoop().
Referenced by doShutdown().
◆ handleStoppedChild()
|
private |
Definition at line 299 of file main.cc.
References do_handle_stopped_child, pid, and WaitForAnyPid().
Referenced by checkEvents().
◆ StopEventLoop()
|
inlinestaticprivate |
Definition at line 203 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