11#ifndef SQUID_SRC_COLLAPSEDFORWARDING_H
12#define SQUID_SRC_COLLAPSEDFORWARDING_H
37 static void Notify(
const int workerId);
52 static std::unique_ptr<Queue>
queue;
Sends and handles collapsed forwarding notifications.
static void Notify(const int workerId)
kick worker with empty IPC queue
static void StatQueue(std::ostream &)
prints IPC message queue state; suitable for cache manager reports
static std::unique_ptr< Queue > queue
IPC queue.
static void Broadcast(const StoreEntry &e, const bool includingThisWorker=false)
notify other workers about changes in entry state (e.g., new data)
static void HandleNewData(const char *const when)
handle new data messages in IPC queue
static void Init()
open shared memory segment
static void HandleNotification(const Ipc::TypedMsgHdr &msg)
handle queue push notifications from worker or disker
static void HandleNewDataAtStart()
struct msghdr with a known type, fixed-size I/O and control buffers