mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
use priority inheritance on mutexes where applicable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1837 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
61b90a0951
commit
2741685d3a
10 changed files with 48 additions and 15 deletions
|
|
@ -947,7 +947,7 @@ int pa__init(pa_module*m) {
|
|||
u->thread_info.master = u->master = NULL;
|
||||
u->time_event = NULL;
|
||||
u->adjust_time = DEFAULT_ADJUST_TIME;
|
||||
u->mutex = pa_mutex_new(0);
|
||||
u->mutex = pa_mutex_new(FALSE, TRUE);
|
||||
pa_thread_mq_init(&u->thread_mq, m->core->mainloop);
|
||||
u->rtpoll = NULL;
|
||||
u->thread = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue