Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

gw_prioqueue Struct Reference

Collaboration diagram for gw_prioqueue:

Collaboration graph
[legend]

Data Fields

Mutexmutex
element ** tab
size_t size
long len
long producers
long long seq
pthread_cond_t nonempty
int(* cmp )(const void *, const void *)

Field Documentation

int(* gw_prioqueue::cmp)(const void *, const void *)
 

Referenced by downheap(), and upheap().

long gw_prioqueue::len
 

Definition at line 83 of file gw-prioqueue.c.

Referenced by downheap(), gw_prioqueue_consume(), gw_prioqueue_destroy(), gw_prioqueue_foreach(), gw_prioqueue_get(), gw_prioqueue_insert(), gw_prioqueue_len(), gw_prioqueue_remove(), and make_bigger().

Mutex* gw_prioqueue::mutex
 

Definition at line 80 of file gw-prioqueue.c.

Referenced by gw_prioqueue_consume(), gw_prioqueue_create(), gw_prioqueue_destroy(), queue_lock(), and queue_unlock().

pthread_cond_t gw_prioqueue::nonempty
 

Definition at line 86 of file gw-prioqueue.c.

Referenced by gw_prioqueue_consume(), gw_prioqueue_destroy(), gw_prioqueue_insert(), and gw_prioqueue_remove_producer().

long gw_prioqueue::producers
 

Definition at line 84 of file gw-prioqueue.c.

Referenced by gw_prioqueue_add_producer(), gw_prioqueue_consume(), gw_prioqueue_create(), gw_prioqueue_producer_count(), and gw_prioqueue_remove_producer().

long long gw_prioqueue::seq
 

Definition at line 85 of file gw-prioqueue.c.

Referenced by gw_prioqueue_insert().

size_t gw_prioqueue::size
 

Definition at line 82 of file gw-prioqueue.c.

Referenced by make_bigger().

struct element** gw_prioqueue::tab
 

Definition at line 81 of file gw-prioqueue.c.

Referenced by downheap(), gw_prioqueue_consume(), gw_prioqueue_destroy(), gw_prioqueue_foreach(), gw_prioqueue_get(), gw_prioqueue_insert(), gw_prioqueue_remove(), make_bigger(), and upheap().


The documentation for this struct was generated from the following file: See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.