trafilo 0.1.0
Streaming event-handler framework in C
Loading...
Searching...
No Matches
bounded_queue_t Struct Reference

A Circular ring queue, fixed size, to create a pool of events to be parsed. More...

#include <bounded_queue.h>

Data Fields

void ** buf
size_t capacity
size_t head
size_t tail
size_t count
pthread_mutex_t mu_lock
pthread_cond_t not_empty
pthread_cond_t not_full
int done

Detailed Description

A Circular ring queue, fixed size, to create a pool of events to be parsed.

Field Documentation

◆ buf

void** bounded_queue_t::buf

◆ capacity

size_t bounded_queue_t::capacity

◆ count

size_t bounded_queue_t::count

◆ done

int bounded_queue_t::done

◆ head

size_t bounded_queue_t::head

◆ mu_lock

pthread_mutex_t bounded_queue_t::mu_lock

◆ not_empty

pthread_cond_t bounded_queue_t::not_empty

◆ not_full

pthread_cond_t bounded_queue_t::not_full

◆ tail

size_t bounded_queue_t::tail

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