TUT HEVC Encoder
Data Fields
threadqueue_queue_t Struct Reference
Collaboration diagram for threadqueue_queue_t:

Data Fields

pthread_mutex_t lock
 
pthread_cond_t job_available
 Job available condition variable. More...
 
pthread_cond_t job_done
 Job done condition variable. More...
 
pthread_t * threads
 Array containing spawned threads. More...
 
int thread_count
 Number of threads spawned. More...
 
int thread_running_count
 Number of threads running. More...
 
bool stop
 If true, threads should stop ASAP. More...
 
threadqueue_job_tfirst
 Pointer to the first ready job. More...
 
threadqueue_job_tlast
 Pointer to the last ready job. More...
 

Field Documentation

◆ first

threadqueue_job_t* threadqueue_queue_t::first

◆ job_available

pthread_cond_t threadqueue_queue_t::job_available

Signalled when there is a new job to do.

◆ job_done

pthread_cond_t threadqueue_queue_t::job_done

Signalled when a job has been completed.

◆ last

threadqueue_job_t* threadqueue_queue_t::last

◆ lock

pthread_mutex_t threadqueue_queue_t::lock

◆ stop

bool threadqueue_queue_t::stop

◆ thread_count

int threadqueue_queue_t::thread_count

◆ thread_running_count

int threadqueue_queue_t::thread_running_count

◆ threads

pthread_t* threadqueue_queue_t::threads

The documentation for this struct was generated from the following file: