|
VLC
4.0.0-dev
|

Data Structures | |
| struct | vlc_lock_mark |
Functions | |
| void | vlc_global_mutex (unsigned n, bool acquire) |
| Internal handler for global mutexes. More... | |
| static int | vlc_lock_mark_cmp (const void *a, const void *b) |
| static void | vlc_lock_mark (const void *lock, void **rootp) |
| static void | vlc_lock_unmark (const void *lock, void **rootp) |
| static bool | vlc_lock_marked (const void *lock, void **rootp) |
| void | vlc_mutex_mark (const vlc_mutex_t *mutex) |
| Marks a mutex locked. More... | |
| void | vlc_mutex_unmark (const vlc_mutex_t *mutex) |
| Unmarks a mutex. More... | |
| bool | vlc_mutex_marked (const vlc_mutex_t *mutex) |
| Checks if a mutex is locked. More... | |
Variables | |
| static _Thread_local void * | vlc_mutex_marks = NULL |
|
static |
References lock, vlc_lock_mark::object, vlc_lock_mark::refs, tsearch(), unlikely, and vlc_lock_mark_cmp().
Referenced by vlc_mutex_mark().
|
static |
References vlc_lock_mark::object.
Referenced by vlc_lock_mark(), vlc_lock_marked(), and vlc_lock_unmark().
|
static |
References lock, tfind(), and vlc_lock_mark_cmp().
Referenced by vlc_mutex_marked().
|
static |
References likely, lock, vlc_lock_mark::refs, tdelete(), tfind(), and vlc_lock_mark_cmp().
Referenced by vlc_mutex_unmark().
| void vlc_mutex_mark | ( | const vlc_mutex_t * | mutex | ) |
Marks a mutex locked.
References vlc_lock_mark(), and vlc_mutex_marks.
Referenced by vlc_mutex_lock(), and vlc_mutex_trylock().
| void vlc_mutex_unmark | ( | const vlc_mutex_t * | mutex | ) |
Unmarks a mutex.
References vlc_lock_unmark(), and vlc_mutex_marks.
Referenced by vlc_mutex_unlock().
|
static |
Referenced by vlc_mutex_mark(), vlc_mutex_marked(), and vlc_mutex_unmark().
1.8.13