ThreadContext Struct Reference

Data Fields

pthread_tworkers
action_funcfunc
action_func2func2
voidargs
int * rets
int rets_count
int job_count
int job_size
pthread_cond_t last_job_cond
pthread_cond_t current_job_cond
pthread_mutex_t current_job_lock
unsigned current_execute
int current_job
int done

Detailed Description

Definition at line 65 of file pthread.c.

Field Documentation

void* ThreadContext::args

Definition at line 69 of file pthread.c.

Referenced by avcodec_thread_execute(), and worker().

unsigned ThreadContext::current_execute

Definition at line 78 of file pthread.c.

Referenced by avcodec_thread_execute(), and worker().

int ThreadContext::current_job

Definition at line 79 of file pthread.c.

Referenced by avcodec_thread_execute(), avcodec_thread_park_workers(), thread_init(), and worker().

pthread_cond_t ThreadContext::current_job_cond

Definition at line 76 of file pthread.c.

Referenced by avcodec_thread_execute(), thread_free(), thread_init(), and worker().

pthread_mutex_t ThreadContext::current_job_lock
int ThreadContext::done

Definition at line 80 of file pthread.c.

Referenced by thread_free(), thread_init(), and worker().

action_func* ThreadContext::func

Definition at line 67 of file pthread.c.

Referenced by avcodec_thread_execute(), and worker().

action_func2* ThreadContext::func2

Definition at line 68 of file pthread.c.

Referenced by avcodec_thread_execute2(), and worker().

int ThreadContext::job_count

Definition at line 72 of file pthread.c.

Referenced by avcodec_thread_execute(), avcodec_thread_park_workers(), thread_init(), and worker().

int ThreadContext::job_size

Definition at line 73 of file pthread.c.

Referenced by avcodec_thread_execute(), thread_init(), and worker().

pthread_cond_t ThreadContext::last_job_cond

Definition at line 75 of file pthread.c.

Referenced by avcodec_thread_park_workers(), thread_free(), thread_init(), and worker().

int* ThreadContext::rets

Definition at line 70 of file pthread.c.

Referenced by avcodec_thread_execute(), and worker().

int ThreadContext::rets_count

Definition at line 71 of file pthread.c.

Referenced by avcodec_thread_execute(), and worker().

pthread_t* ThreadContext::workers

Definition at line 66 of file pthread.c.

Referenced by thread_free(), and thread_init().


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