pthread_pool_t Struct Reference

pthread_pool_t structure More...

#include <pthread_pool.h>


Data Fields

pthread_mutex_t lock
 structure lock
pthread_cond_t queue_not_empty
 queue not empty condition
pthread_cond_t queue_not_full
 queue not full condition
pthread_cond_t work_finished
 work finished condition
pthread_t * threads
 pointer to an array of threads
int num_threads
 number of threads in pool
pool_data_tqueue
 pointer to an array of work
int front
 index of front of work data
int back
 index of back of work data
short queue_open
 queue open flag
int max_queue_length
 maximum queue length
int queue_length
 current queue length
int num_active
 number of threads currently active
int destroyed
 number of threads who are destroyed
int queue_full_wait
 number of threads waiting for entry in queue
int work_not_finished_wait
 number of threads waiting for current work to be finished
int block
 blocking value


Detailed Description

pthread_pool_t structure


The documentation for this struct was generated from the following file:
Generated on Tue Apr 24 20:01:36 2007 for libctf by  doxygen 1.5.1