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 "SquidTime.h"
#include "StatCounters.h"
#include "store/Disk.h"
#include "tools.h"
#include "xusleep.h"
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 34 of file unlinkd.cc.

Referenced by unlinkdUnlink().

Function Documentation

◆ unlinkdClose()

void unlinkdClose ( void  )

Definition at line 131 of file unlinkd.cc.

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

Referenced by SquidShutdown().

◆ unlinkdInit()

◆ unlinkdNeeded()

◆ unlinkdUnlink()

Variable Documentation

◆ hIpc

void* hIpc
static

Definition at line 31 of file unlinkd.cc.

Referenced by unlinkdClose(), and unlinkdInit().

◆ pid

pid_t pid
static

Definition at line 32 of file unlinkd.cc.

Referenced by unlinkdClose(), and unlinkdInit().

◆ unlinkd_rfd

int unlinkd_rfd = -1
static

Definition at line 29 of file unlinkd.cc.

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

◆ unlinkd_wfd

int unlinkd_wfd = -1
static

Definition at line 28 of file unlinkd.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors