9#ifndef SQUID_IPC_KIDS_H
10#define SQUID_IPC_KIDS_H
SBuf TheKidName
current Squid process name (e.g., "squid-coord")
Kids TheKids
All kids being maintained.
Kids & operator=(const Kids &)
not implemented
void forgetAllFailures()
forgets all failures in all kids
bool someSignaled(const int sgnl) const
whether some kids died from a given signal
size_t count() const
returns the number of kids
Kids(const Kids &)
not implemented
bool allExitedHappy() const
whether all kids called exited happy
Kid * find(pid_t pid)
returns kid by pid
bool shouldRestartSome() const
whether some kids should be restarted by master
std::vector< Kid > storage
void init()
initialize all kid records based on Config
bool someRunning() const
whether some kids are running
Kid & get(size_t i)
returns the kid by index, useful for kids iteration
time_t forgetOldFailures()
bool allHopeless() const
whether all kids are hopeless