ModKqueue.cc File Reference
#include "squid.h"
#include "comm/Loops.h"
#include "fde.h"
#include "globals.h"
#include "StatCounters.h"
#include "Store.h"
#include <cerrno>
Include dependency graph for ModKqueue.cc:

Go to the source code of this file.

Macros

#define KE_LENGTH   128
 

Functions

static void kq_update_events (int, short, PF *)
 
static void commKQueueRegisterWithCacheManager (void)
 

Variables

static int kq
 
static struct timespec zero_timespec
 
static struct kevent * kqlst
 
static int kqmax
 
static int kqoff
 
static int max_poll_time = 1000
 

Macro Definition Documentation

◆ KE_LENGTH

#define KE_LENGTH   128

Definition at line 46 of file ModKqueue.cc.

Function Documentation

◆ commKQueueRegisterWithCacheManager()

static void commKQueueRegisterWithCacheManager ( void  )
static

Definition at line 278 of file ModKqueue.cc.

◆ kq_update_events()

void kq_update_events ( int  fd,
short  filter,
PF handler 
)
static

Definition at line 64 of file ModKqueue.cc.

References fd_table, handler(), kq, kqlst, kqmax, kqoff, NULL, and zero_timespec.

Variable Documentation

◆ kq

int kq
static

Definition at line 49 of file ModKqueue.cc.

Referenced by kq_update_events().

◆ kqlst

struct kevent* kqlst
static

Definition at line 53 of file ModKqueue.cc.

Referenced by kq_update_events().

◆ kqmax

int kqmax
static

Definition at line 54 of file ModKqueue.cc.

Referenced by kq_update_events().

◆ kqoff

int kqoff
static

Definition at line 55 of file ModKqueue.cc.

Referenced by kq_update_events().

◆ max_poll_time

int max_poll_time = 1000
static

Definition at line 56 of file ModKqueue.cc.

◆ zero_timespec

struct timespec zero_timespec
static

Definition at line 51 of file ModKqueue.cc.

Referenced by kq_update_events().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors