]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/Kids.h
6 #ifndef SQUID_IPC_KIDS_H
7 #define SQUID_IPC_KIDS_H
13 /// a collection of kids
20 Kids (const Kids
&); ///< not implemented
21 Kids
& operator= (const Kids
&); ///< not implemented
27 /// returns kid by pid
30 /// returns the kid by index, useful for kids iteration
33 /// whether all kids are hopeless
34 bool allHopeless() const;
36 /// whether all kids called exited happy
37 bool allExitedHappy() const;
39 /// whether all kids died from a given signal
40 bool allSignaled(int sgnl
) const;
42 /// returns the number of kids
49 extern Kids TheKids
; ///< All kids being maintained
51 extern char KidName
[NAME_MAX
]; ///< current Squid process name (e.g., squid2)
52 extern int KidIdentifier
; ///< current Squid process number (e.g., 4)
55 #endif /* SQUID_IPC_KIDS_H */