27#ifndef VLC_CORE_THREADS_H_
28#define VLC_CORE_THREADS_H_
54#define VLC_STATIC_QUEUEDMUTEX { 0, 0, 0 }
77#define vlc_queuedmutex_assert(m) assert(vlc_queuedmutex_held(m))
Condition variable.
Definition vlc_threads.h:270
Mutex.
Definition vlc_threads.h:143
atomic_ulong owner
Definition threads.h:51
atomic_uint tail
Definition threads.h:50
atomic_uint head
Definition threads.h:49
bool vlc_queuedmutex_held(vlc_queuedmutex_t *m)
Checks if a queued mutex is locked.
Definition threads.c:463
void vlc_queuedmutex_init(vlc_queuedmutex_t *m)
Definition threads.c:456
void vlc_queuedmutex_unlock(vlc_queuedmutex_t *m)
Definition threads.c:481
int vlc_cond_timedwait_daytime(vlc_cond_t *, vlc_mutex_t *, time_t)
Definition threads.c:308
void vlc_queuedmutex_lock(vlc_queuedmutex_t *m)
Definition threads.c:468
Thread primitive declarations.