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:
Lennart Poettering 2007-09-17 00:32:51 +00:00
parent 61b90a0951
commit 2741685d3a
10 changed files with 48 additions and 15 deletions

View file

@ -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;