#include <eh_thread_pool.h>
Public Attributes | |
| int | num_threads |
| int | max_queue_size |
| int | do_not_block_when_full |
| pthread_t * | threads |
| int | cur_queue_size |
| tpool_work_t * | queue_head |
| tpool_work_t * | queue_tail |
| pthread_mutex_t | queue_lock |
| pthread_cond_t | queue_not_empty |
| pthread_cond_t | queue_not_full |
| pthread_cond_t | queue_empty |
| int | queue_closed |
| int | shutdown |
Definition at line 13 of file eh_thread_pool.h.
| pthread_t* tpool::threads |
Definition at line 21 of file eh_thread_pool.h.
Referenced by tpool_add_work(), tpool_destroy(), and tpool_thread().
Definition at line 22 of file eh_thread_pool.h.
Referenced by tpool_add_work(), and tpool_destroy().
| pthread_mutex_t tpool::queue_lock |
Definition at line 24 of file eh_thread_pool.h.
Referenced by tpool_add_work(), tpool_destroy(), and tpool_thread().
| pthread_cond_t tpool::queue_not_empty |
Definition at line 25 of file eh_thread_pool.h.
Referenced by tpool_add_work(), tpool_destroy(), and tpool_thread().
| pthread_cond_t tpool::queue_not_full |
Definition at line 26 of file eh_thread_pool.h.
Referenced by tpool_add_work(), and tpool_destroy().
| pthread_cond_t tpool::queue_empty |
Definition at line 28 of file eh_thread_pool.h.
Referenced by tpool_add_work(), and tpool_destroy().
| int tpool::shutdown |
Definition at line 29 of file eh_thread_pool.h.
Referenced by tpool_add_work(), tpool_destroy(), and tpool_thread().
1.5.2