Searched refs:pa_mutex (Results 1 – 12 of 12) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | mutex.h | 26 typedef struct pa_mutex pa_mutex; typedef 33 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority); 35 void pa_mutex_free(pa_mutex *m); 36 void pa_mutex_lock(pa_mutex *m); 37 bool pa_mutex_try_lock(pa_mutex *m); 38 void pa_mutex_unlock(pa_mutex *m); 45 int pa_cond_wait(pa_cond *c, pa_mutex *m); 55 pa_mutex* pa_static_mutex_get(pa_static_mutex *m, bool recursive, bool inherit_priority);
|
D | mutex-posix.c | 32 struct pa_mutex { struct 40 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority) { in pa_mutex_new() argument 41 pa_mutex *m; in pa_mutex_new() 59 m = pa_xnew(pa_mutex, 1); in pa_mutex_new() 80 void pa_mutex_free(pa_mutex *m) { in pa_mutex_free() 87 void pa_mutex_lock(pa_mutex *m) { in pa_mutex_lock() 93 bool pa_mutex_try_lock(pa_mutex *m) { in pa_mutex_try_lock() 105 void pa_mutex_unlock(pa_mutex *m) { in pa_mutex_unlock() 135 int pa_cond_wait(pa_cond *c, pa_mutex *m) { in pa_cond_wait() 142 pa_mutex* pa_static_mutex_get(pa_static_mutex *s, bool recursive, bool inherit_priority) { in pa_static_mutex_get() [all …]
|
D | mutex-win32.c | 31 struct pa_mutex { struct 39 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority) { in pa_mutex_new() argument 40 pa_mutex *m; in pa_mutex_new() 42 m = pa_xnew(pa_mutex, 1); in pa_mutex_new() 49 void pa_mutex_free(pa_mutex *m) { in pa_mutex_free() 56 void pa_mutex_lock(pa_mutex *m) { in pa_mutex_lock() 62 void pa_mutex_unlock(pa_mutex *m) { in pa_mutex_unlock() 109 int pa_cond_wait(pa_cond *c, pa_mutex *m) { in pa_cond_wait() 134 pa_mutex* pa_static_mutex_get(pa_static_mutex *s, bool recursive, bool inherit_priority) { in pa_static_mutex_get() 135 pa_mutex *m; in pa_static_mutex_get()
|
D | once.c | 32 pa_mutex *m; in pa_once_begin() 55 pa_mutex *m; in pa_once_end()
|
D | memtrap.c | 136 pa_mutex *mx; in pa_memtrap_add() 167 pa_mutex *mx; in pa_memtrap_remove() 189 pa_mutex *mx; in pa_memtrap_update()
|
D | lock-autospawn.c | 54 static pa_mutex *mutex; 58 static pa_mutex *lock_fd_mutex = NULL;
|
D | ratelimit.c | 38 pa_mutex *m; in pa_ratelimit_test()
|
D | aupdate.c | 38 pa_mutex *write_lock;
|
D | asyncmsgq.c | 55 pa_mutex *mutex; /* only for the writer side */
|
D | memblock.c | 129 pa_mutex *mutex; 149 pa_mutex *mutex; 187 pa_mutex *mutex;
|
/third_party/pulseaudio/src/pulse/ |
D | thread-mainloop.c | 50 pa_mutex* mutex; 61 pa_mutex *mutex = userdata; in poll_func()
|
/third_party/pulseaudio/src/tests/ |
D | thread-test.c | 32 static pa_mutex *mutex = NULL;
|