VLC  4.0.0-dev
Data Fields
background_worker Struct Reference
Collaboration diagram for background_worker:
Collaboration graph
[legend]

Data Fields

void * owner
 
struct background_worker_config conf
 
vlc_mutex_t lock
 
int uncompleted
 number of tasks requested but not completed More...
 
int nthreads
 number of threads in the threads list More...
 
struct vlc_list threads
 list of active background_thread instances More...
 
struct vlc_list queue
 queue of tasks More...
 
vlc_cond_t queue_wait
 wait for the queue to be non-empty More...
 
vlc_cond_t nothreads_wait
 wait for nthreads == 0 More...
 
bool closing
 true if background worker deletion is requested More...
 

Field Documentation

◆ closing

bool background_worker::closing

true if background worker deletion is requested

Referenced by background_worker_Create(), background_worker_Delete(), and QueueTake().

◆ conf

struct background_worker_config background_worker::conf

◆ lock

vlc_mutex_t background_worker::lock

◆ nothreads_wait

vlc_cond_t background_worker::nothreads_wait

wait for nthreads == 0

Referenced by background_worker_Create(), background_worker_Delete(), and RemoveThread().

◆ nthreads

int background_worker::nthreads

◆ owner

void* background_worker::owner

Referenced by background_worker_Create(), and Thread().

◆ queue

struct vlc_list background_worker::queue

◆ queue_wait

vlc_cond_t background_worker::queue_wait

wait for the queue to be non-empty

Referenced by background_worker_Create(), background_worker_Delete(), QueuePush(), and QueueTake().

◆ threads

struct vlc_list background_worker::threads

◆ uncompleted

int background_worker::uncompleted

number of tasks requested but not completed

Referenced by background_worker_Create(), background_worker_Push(), and TerminateTask().


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