buffer_pool_t Struct Reference
[Bufferpool Library]

Buffer Pool Management. More...

#include <bufferpool.h>

Collaboration diagram for buffer_pool_t:

Collaboration graph
[legend]

Data Fields

bp_slotbufferpool
pthread_mutex_t fl_mutex
pthread_cond_t cond_full
int * freelist
int flhead
int flcount
int size

Detailed Description

Buffer Pool Management.

See also:
bpinit

bpkill

bpget

bpfree

bprmv

Definition at line 131 of file bufferpool.h.


Field Documentation

bp_slot* buffer_pool_t::bufferpool

Pointer to the Bufferpool memory.

See also:
bpinit

Definition at line 132 of file bufferpool.h.

Referenced by bpfree(), bpinit(), bpkill(), bprmv(), and poinit().

pthread_mutex_t buffer_pool_t::fl_mutex

Mutex to access the Bufferpool internals.

Definition at line 134 of file bufferpool.h.

Referenced by bpfree(), bpget(), bpinit(), bprmv(), and rtp_rm_all_pkts().

pthread_cond_t buffer_pool_t::cond_full

Advertise availability of free slots.

Definition at line 135 of file bufferpool.h.

Referenced by bpget(), bpinit(), bprmv(), and rtp_rm_all_pkts().

int* buffer_pool_t::freelist

Free slot indexes vector.

Definition at line 136 of file bufferpool.h.

Referenced by bpfree(), bpget(), bpinit(), bprmv(), and rtp_rm_all_pkts().

int buffer_pool_t::flhead

Free List head.

Definition at line 137 of file bufferpool.h.

Referenced by bpfree(), bpget(), bpinit(), bprmv(), and rtp_rm_all_pkts().

int buffer_pool_t::flcount

Free List count.

Definition at line 138 of file bufferpool.h.

Referenced by bpfree(), bpget(), bpinit(), bprmv(), and rtp_rm_all_pkts().


The documentation for this struct was generated from the following file:
Generated on Tue Feb 3 03:10:03 2009 for libnemesi by  doxygen 1.5.4