VLC  3.0.15
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
 acquire to inspect members that follow More...
 
struct {
   bool   probe_request
 true if a probe is requested More...
 
   vlc_cond_t   wait
 wait for update in terms of head More...
 
   vlc_cond_t   worker_wait
 wait for probe request or cancelation More...
 
   mtime_t   deadline
 deadline of the current task More...
 
   void *   id
 id of the current task More...
 
   bool   active
 true if there is an active thread More...
 
head
 
struct {
   vlc_cond_t   wait
 wait for update in terms of tail More...
 
   vlc_array_t   data
 queue of pending entities to process More...
 
tail
 

Field Documentation

◆ active

bool background_worker::active

true if there is an active thread

Referenced by background_worker_New(), background_worker_Push(), BackgroundWorkerCancel(), and Thread().

◆ conf

struct background_worker_config background_worker::conf

◆ data

vlc_array_t background_worker::data

◆ deadline

mtime_t background_worker::deadline

deadline of the current task

Referenced by background_worker_New(), BackgroundWorkerCancel(), and Thread().

◆ head

struct { ... } background_worker::head

◆ id

void* background_worker::id

id of the current task

Referenced by background_worker_New(), BackgroundWorkerCancel(), and Thread().

◆ lock

vlc_mutex_t background_worker::lock

◆ owner

void* background_worker::owner

Referenced by background_worker_New(), and Thread().

◆ probe_request

bool background_worker::probe_request

true if a probe is requested

Referenced by background_worker_Push(), background_worker_RequestProbe(), and Thread().

◆ tail

struct { ... } background_worker::tail

◆ wait

vlc_cond_t background_worker::wait

wait for update in terms of head

wait for update in terms of tail

Referenced by background_worker_Delete(), background_worker_New(), background_worker_Push(), BackgroundWorkerCancel(), and Thread().

◆ worker_wait

vlc_cond_t background_worker::worker_wait

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