TUT HEVC Encoder
|
Data Fields | |
pthread_mutex_t | lock |
pthread_cond_t | job_available |
Job available condition variable. | |
pthread_cond_t | job_done |
Job done condition variable. | |
pthread_t * | threads |
Array containing spawned threads. | |
int | thread_count |
Number of threads spawned. | |
int | thread_running_count |
Number of threads running. | |
bool | stop |
If true, threads should stop ASAP. | |
threadqueue_job_t * | first |
Pointer to the first ready job. | |
threadqueue_job_t * | last |
Pointer to the last ready job. | |
threadqueue_job_t* threadqueue_queue_t::first |
pthread_cond_t threadqueue_queue_t::job_available |
Signalled when there is a new job to do.
pthread_cond_t threadqueue_queue_t::job_done |
Signalled when a job has been completed.
threadqueue_job_t* threadqueue_queue_t::last |
pthread_mutex_t threadqueue_queue_t::lock |
bool threadqueue_queue_t::stop |
int threadqueue_queue_t::thread_count |
int threadqueue_queue_t::thread_running_count |
pthread_t* threadqueue_queue_t::threads |