#include <pthread_praq.h>
Data Fields | |
pthread_mutex_t | lock |
structure lock | |
pthread_cond_t | not_full_cond |
not full condition | |
pthread_cond_t | not_empty_cond |
not empty condition | |
praq_data_t * | queue |
queue array | |
int | front |
index of front of queue | |
int | length |
queue length | |
int | max_length |
maximum queue length | |
int | queue_full_wait |
count of threads blocking | |
int | queue_empty_wait |
count of threads blocking | |
int | order_id |
id of front of queue | |
int | block |
locking attribute |