Inquirer.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "comm.h"
#include "comm/Write.h"
#include "ipc/Inquirer.h"
#include "ipc/Port.h"
#include "ipc/TypedMsgHdr.h"
#include "mem/PoolingAllocator.h"
#include "MemBuf.h"
#include <algorithm>
#include <unordered_map>
Include dependency graph for Inquirer.cc:

Go to the source code of this file.

Namespaces

namespace  Ipc
 

Typedefs

using Ipc::InquirerPointer = CbcPointer< Inquirer >
 maps request->id to the Inquirer waiting for the response to that request More...
 
using Ipc::WaitingInquiriesItem = std::pair< const RequestId::Index, InquirerPointer >
 
using Ipc::WaitingInquiries = std::unordered_map< RequestId::Index, InquirerPointer, std::hash< RequestId::Index >, std::equal_to< RequestId::Index >, PoolingAllocator< WaitingInquiriesItem > >
 

Functions

static InquirerPointer Ipc::DequeueRequest (const RequestId::Index requestId)
 returns and forgets the Inquirer waiting for the given requests More...
 
static bool LesserStrandByKidId (const Ipc::StrandCoord &c1, const Ipc::StrandCoord &c2)
 compare Ipc::StrandCoord using kidId, for std::sort() below More...
 

Variables

static WaitingInquiries Ipc::TheWaitingInquirers
 pending Inquirer requests for this process More...
 

Function Documentation

◆ LesserStrandByKidId()

static bool LesserStrandByKidId ( const Ipc::StrandCoord c1,
const Ipc::StrandCoord c2 
)
static

Definition at line 60 of file Inquirer.cc.

References Ipc::StrandCoord::kidId.

Referenced by Ipc::Inquirer::Inquirer().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors