prod_cons_t Struct Reference

#include <prod_cons.h>


Data Fields

int prod_pos
int cons_pos
sem_t prod_sem
sem_t cons_sem
pthread_mutex_t prod_mutex
pthread_mutex_t cons_mutex
int buf_size
void ** buffer


Detailed Description

Definition at line 8 of file prod_cons.h.


Field Documentation

int prod_cons_t::buf_size
 

Definition at line 15 of file prod_cons.h.

Referenced by create_prod_cons(), get(), and put().

void** prod_cons_t::buffer
 

Definition at line 16 of file prod_cons.h.

Referenced by create_prod_cons(), destroy_prod_cons(), get(), and put().

pthread_mutex_t prod_cons_t::cons_mutex
 

Definition at line 14 of file prod_cons.h.

Referenced by create_prod_cons(), and get().

int prod_cons_t::cons_pos
 

Definition at line 10 of file prod_cons.h.

Referenced by create_prod_cons(), and get().

sem_t prod_cons_t::cons_sem
 

Definition at line 12 of file prod_cons.h.

Referenced by create_prod_cons(), destroy_prod_cons(), get(), and put().

pthread_mutex_t prod_cons_t::prod_mutex
 

Definition at line 13 of file prod_cons.h.

Referenced by create_prod_cons(), and put().

int prod_cons_t::prod_pos
 

Definition at line 9 of file prod_cons.h.

Referenced by create_prod_cons(), and put().

sem_t prod_cons_t::prod_sem
 

Definition at line 11 of file prod_cons.h.

Referenced by create_prod_cons(), destroy_prod_cons(), get(), and put().


The documentation for this struct was generated from the following file:
Generated on Tue Jan 17 19:29:05 2006 for Void by  doxygen 1.4.6