unlinkd.cc File Reference
#include "squid.h"
#include "fd.h"
#include "fde.h"
#include "fs_io.h"
#include "globals.h"
#include "SquidConfig.h"
#include "SquidIpc.h"
#include "StatCounters.h"
#include "store/Disk.h"
#include "tools.h"
#include "unlinkd.h"
#include <chrono>
#include <thread>
Include dependency graph for unlinkd.cc:

Go to the source code of this file.

Macros

#define UNLINKD_QUEUE_LIMIT   20
 

Functions

void unlinkdUnlink (const char *path)
 
void unlinkdClose (void)
 
bool unlinkdNeeded (void)
 
void unlinkdInit (void)
 

Variables

static int unlinkd_wfd = -1
 
static int unlinkd_rfd = -1
 
static void * hIpc
 
static pid_t pid
 

Macro Definition Documentation

◆ UNLINKD_QUEUE_LIMIT

#define UNLINKD_QUEUE_LIMIT   20

Definition at line 36 of file unlinkd.cc.

Function Documentation

◆ unlinkdClose()

void unlinkdClose ( void  )

Definition at line 133 of file unlinkd.cc.

References comm_close, DBG_IMPORTANT, debugs, getCurrentTime(), hIpc, pid, unlinkd_rfd, and unlinkd_wfd.

Referenced by SquidShutdown().

◆ unlinkdInit()

◆ unlinkdNeeded()

bool unlinkdNeeded ( void  )

◆ unlinkdUnlink()

Variable Documentation

◆ hIpc

void* hIpc
static

Definition at line 33 of file unlinkd.cc.

Referenced by unlinkdClose(), and unlinkdInit().

◆ pid

pid_t pid
static

Definition at line 34 of file unlinkd.cc.

Referenced by unlinkdClose(), and unlinkdInit().

◆ unlinkd_rfd

int unlinkd_rfd = -1
static

Definition at line 31 of file unlinkd.cc.

Referenced by unlinkdClose(), unlinkdInit(), and unlinkdUnlink().

◆ unlinkd_wfd

int unlinkd_wfd = -1
static

Definition at line 30 of file unlinkd.cc.

Referenced by unlinkdClose(), unlinkdInit(), and unlinkdUnlink().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors