VLC  3.0.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vlc_thread Struct Reference

Per-thread data. More...

Data Fields

pthread_t thread
pthread_cond_t * cond
vlc_mutex_t lock
 Non-null if thread waiting on cond.
vlc_sem_t finished
 Protects cond.
void *(* entry )(void *)
void * data
atomic_bool killed
bool killable
TID tid
HEV cancel_event
HEV done_event
int cancel_sock
bool detached
bool killed
vlc_cleanup_t * cleaners
HANDLE id

Detailed Description

Per-thread data.

Field Documentation

HEV vlc_thread::cancel_event
int vlc_thread::cancel_sock
vlc_cleanup_t * vlc_thread::cleaners
pthread_cond_t* vlc_thread::cond
void * vlc_thread::data
bool vlc_thread::detached
HEV vlc_thread::done_event
void *(* vlc_thread::entry)(void *)
vlc_sem_t vlc_thread::finished

Protects cond.

HANDLE vlc_thread::id
bool vlc_thread::killable
bool vlc_thread::killed
bool vlc_thread::killed
vlc_mutex_t vlc_thread::lock

Non-null if thread waiting on cond.

Referenced by clean_detached_thread().

pthread_t vlc_thread::thread
TID vlc_thread::tid

Referenced by vlc_clone_attr().


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