tools.h
Go to the documentation of this file.
Definition: MemBuf.h:24
Definition: Packable.h:53
Definition: compat_shared.h:86
bool IamMasterProcess()
whether the current process is the parent of all other Squid processes
Definition: tools.cc:668
bool IamWorkerProcess()
whether the current process handles HTTP transactions and such
Definition: stub_tools.cc:47
SBuf service_name
void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm)
Definition: tools.cc:938
bool IamCoordinatorProcess()
whether the current process coordinates worker processes
Definition: tools.cc:702
bool UsingSmp()
Whether there should be more than one worker process running.
Definition: tools.cc:696
SBuf ProcessRoles()
a string describing this process roles such as worker or coordinator
Definition: tools.cc:739
bool IamDiskProcess()
whether the current process is dedicated to managing a cache_dir
Definition: tools.cc:684