VLC 4.0.0-dev
|
Mutex. More...
#include <vlc_threads.h>
Data Fields | ||
union { | ||
struct { | ||
atomic_uint value | ||
atomic_uint recursion | ||
atomic_ulong owner | ||
} | ||
struct { | ||
unsigned int value | ||
unsigned int recursion | ||
unsigned long owner | ||
} dummy | ||
}; | ||
Mutex.
Storage space for a mutual exclusion lock.
union { ... } vlc_mutex_t |
struct { ... } vlc_mutex_t::dummy |
atomic_ulong vlc_mutex_t::owner |
Referenced by vlc_mutex_held(), vlc_mutex_init_common(), vlc_mutex_lock(), vlc_mutex_trylock(), and vlc_mutex_unlock().
unsigned long vlc_mutex_t::owner |
atomic_uint vlc_mutex_t::recursion |
Referenced by vlc_cond_timedwait(), vlc_cond_wait(), vlc_mutex_init_common(), vlc_mutex_trylock(), and vlc_mutex_unlock().
unsigned int vlc_mutex_t::recursion |
atomic_uint vlc_mutex_t::value |
Referenced by vlc_mutex_init_common(), vlc_mutex_lock(), vlc_mutex_trylock(), and vlc_mutex_unlock().
unsigned int vlc_mutex_t::value |