Home
last modified time | relevance | path

Searched refs:pa_mutex (Results 1 – 12 of 12) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmutex.h26 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);
Dmutex-posix.c32 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 …]
Dmutex-win32.c31 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()
Donce.c32 pa_mutex *m; in pa_once_begin()
55 pa_mutex *m; in pa_once_end()
Dmemtrap.c136 pa_mutex *mx; in pa_memtrap_add()
167 pa_mutex *mx; in pa_memtrap_remove()
189 pa_mutex *mx; in pa_memtrap_update()
Dlock-autospawn.c54 static pa_mutex *mutex;
58 static pa_mutex *lock_fd_mutex = NULL;
Dratelimit.c38 pa_mutex *m; in pa_ratelimit_test()
Daupdate.c38 pa_mutex *write_lock;
Dasyncmsgq.c55 pa_mutex *mutex; /* only for the writer side */
Dmemblock.c129 pa_mutex *mutex;
149 pa_mutex *mutex;
187 pa_mutex *mutex;
/third_party/pulseaudio/src/pulse/
Dthread-mainloop.c50 pa_mutex* mutex;
61 pa_mutex *mutex = userdata; in poll_func()
/third_party/pulseaudio/src/tests/
Dthread-test.c32 static pa_mutex *mutex = NULL;