|
Threads Pool - C Language
|
#include <thpool.h>
Campi | |
| volatile sig_atomic_t | quitflag |
| volatile sig_atomic_t | shutdown |
| sigset_t * | signalmask |
| int | pool_size |
| int | job_max |
| int | job_size |
| joblist * | firstjob |
| joblist * | lastjob |
| pthread_t * | tids |
| pthread_mutex_t | lock |
| pthread_cond_t | notempty |
| pthread_cond_t | empty |
| volatile sig_atomic_t ThreadPool::quitflag |
| volatile sig_atomic_t ThreadPool::shutdown |
| sigset_t* ThreadPool::signalmask |
| pthread_t* ThreadPool::tids |
| pthread_mutex_t ThreadPool::lock |
| pthread_cond_t ThreadPool::notempty |
| pthread_cond_t ThreadPool::empty |