use a prio inheriting mutex for the threaded mainloop, to ease writing of RT clients

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2059 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-11-14 16:11:51 +00:00
parent 461e36910a
commit 413a8f8917

View file

@ -103,7 +103,7 @@ pa_threaded_mainloop *pa_threaded_mainloop_new(void) {
return NULL;
}
m->mutex = pa_mutex_new(TRUE, FALSE);
m->mutex = pa_mutex_new(TRUE, TRUE);
m->cond = pa_cond_new();
m->accept_cond = pa_cond_new();
m->thread = NULL;