VLC
4.0.0-dev
|
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... | |
bool background_worker::closing |
true if background worker deletion is requested
Referenced by background_worker_Create(), background_worker_Delete(), and QueueTake().
struct background_worker_config background_worker::conf |
Referenced by background_worker_Create(), background_worker_Push(), task_Create(), task_Destroy(), and Thread().
vlc_mutex_t background_worker::lock |
vlc_cond_t background_worker::nothreads_wait |
wait for nthreads == 0
Referenced by background_worker_Create(), background_worker_Delete(), and RemoveThread().
int background_worker::nthreads |
number of threads in the threads list
Referenced by background_worker_Create(), background_worker_Delete(), background_worker_Push(), RemoveThread(), and SpawnThread().
void* background_worker::owner |
Referenced by background_worker_Create(), and Thread().
struct vlc_list background_worker::queue |
queue of tasks
Referenced by background_worker_Create(), QueuePush(), QueueRemoveAll(), and QueueTake().
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().
struct vlc_list background_worker::threads |
list of active background_thread instances
Referenced by background_worker_Create(), background_worker_RequestProbe(), BackgroundWorkerCancelLocked(), and SpawnThread().
int background_worker::uncompleted |
number of tasks requested but not completed
Referenced by background_worker_Create(), background_worker_Push(), and TerminateTask().