![Inheritance graph](classSignalEngine__inherit__graph.png)
![Collaboration graph](classSignalEngine__coll__graph.png)
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 222 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 267 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 205 of file main.cc.
References RegisteredRunner::endingShutdown(), eventAdd(), Auth::Scheme::FreeAll(), RunRegisteredHere, and StopEventLoop().
Referenced by doShutdown().
◆ handleStoppedChild()
|
private |
Definition at line 296 of file main.cc.
References do_handle_stopped_child, pid, and WaitForAnyPid().
Referenced by checkEvents().
◆ StopEventLoop()
|
inlinestaticprivate |
Definition at line 200 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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products