RunnersRegistry.cc
A RegisteredRunner with lifetime determined by forces outside the Registry.
Definition: RunnersRegistry.h:106
static bool RunnersGone
used to avoid re-creating deleted TheRunners after shutdown finished.
Definition: RunnersRegistry.cc:20
void unregisterRunner()
unregisters self; safe to call multiple times
Definition: RunnersRegistry.cc:96
void RunRegistered(const RegisteredRunner::Method &event)
Definition: RunnersRegistry.cc:64
Definition: RunnersRegistry.h:37
virtual void finishShutdown()
Meant for cleanup of services needed by the already destroyed objects.
Definition: RunnersRegistry.h:91
std::set< RegisteredRunner * > Runners
a collection of unique runners, in no particular order
Definition: RunnersRegistry.cc:16
bool RegisterRunner(RegisteredRunner *rr)
registers a given runner with the given registry and returns true on success
Definition: RunnersRegistry.cc:49
void(RegisteredRunner::* Method)()
a pointer to one of the above notification methods
Definition: RunnersRegistry.h:94
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