TUT HEVC Encoder
Loading...
Searching...
No Matches
Data Fields
threadqueue_job_t Struct Reference
Collaboration diagram for threadqueue_job_t:

Data Fields

pthread_mutex_t lock
 
threadqueue_job_state state
 
int ndepends
 Number of dependencies that have not been completed yet.
 
struct threadqueue_job_t ** rdepends
 Reverse dependencies.
 
int rdepends_count
 Number of elements in rdepends.
 
int rdepends_size
 Allocated size of rdepends.
 
int refcount
 Reference count.
 
void(* fptr )(void *arg)
 Pointer to the function to execute.
 
voidarg
 Argument for fptr.
 
struct threadqueue_job_tnext
 Pointer to the next job in the queue.
 

Field Documentation

◆ arg

void* threadqueue_job_t::arg

◆ fptr

void(* threadqueue_job_t::fptr) (void *arg)

◆ lock

pthread_mutex_t threadqueue_job_t::lock

◆ ndepends

int threadqueue_job_t::ndepends

◆ next

struct threadqueue_job_t* threadqueue_job_t::next

◆ rdepends

struct threadqueue_job_t** threadqueue_job_t::rdepends

Array of pointers to jobs that depend on this one. They have to exist when the thread finishes, because they cannot be run before.

◆ rdepends_count

int threadqueue_job_t::rdepends_count

◆ rdepends_size

int threadqueue_job_t::rdepends_size

◆ refcount

int threadqueue_job_t::refcount

◆ state

threadqueue_job_state threadqueue_job_t::state

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