mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
request_queue Struct Reference

Thread-safe multi-priority metatile render queue with hash-based duplicate coalescing. More...

#include <request_queue.h>

Public Attributes

int hashidxSize
 Number of buckets allocated in item_hashidx (typically HASHIDX_SIZE).
struct item reqHead reqPrioHead reqLowHead reqBulkHead dirtyHead renderHead
 Sentinel list heads for the standard, high-prio, low-prio, bulk, dirty, and active-render queues.
struct item_idx * item_hashidx
 Array of hashidxSize bucket heads indexing all queued and in-flight requests by (xmlname, mx, my, z).
int reqNum
 Current item counts in the standard, high-prio, low-prio, bulk, and dirty queues.
int reqPrioNum
int reqLowNum
int reqBulkNum
int dirtyNum
pthread_mutex_t qLock
 Mutex protecting all queue lists, hash buckets, counters, and stats.
pthread_cond_t qCond
 Condition variable signaled when new work is enqueued to wake idle render worker threads.
stats_struct stats
 Cumulative throughput and latency counters for requests processed by this queue.

Detailed Description

Thread-safe multi-priority metatile render queue with hash-based duplicate coalescing.

Member Data Documentation

◆ dirtyNum

int request_queue::dirtyNum

◆ hashidxSize

int request_queue::hashidxSize

Number of buckets allocated in item_hashidx (typically HASHIDX_SIZE).

◆ item_hashidx

struct item_idx* request_queue::item_hashidx

Array of hashidxSize bucket heads indexing all queued and in-flight requests by (xmlname, mx, my, z).

◆ qCond

pthread_cond_t request_queue::qCond

Condition variable signaled when new work is enqueued to wake idle render worker threads.

◆ qLock

pthread_mutex_t request_queue::qLock

Mutex protecting all queue lists, hash buckets, counters, and stats.

◆ renderHead

struct item reqHead reqPrioHead reqLowHead reqBulkHead dirtyHead request_queue::renderHead

Sentinel list heads for the standard, high-prio, low-prio, bulk, dirty, and active-render queues.

◆ reqBulkNum

int request_queue::reqBulkNum

◆ reqLowNum

int request_queue::reqLowNum

◆ reqNum

int request_queue::reqNum

Current item counts in the standard, high-prio, low-prio, bulk, and dirty queues.

◆ reqPrioNum

int request_queue::reqPrioNum

◆ stats

stats_struct request_queue::stats

Cumulative throughput and latency counters for requests processed by this queue.


The documentation for this struct was generated from the following file: