summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-11-14 16:11:51 +0000
committerLennart Poettering <lennart@poettering.net>2007-11-14 16:11:51 +0000
commit413a8f8917256ef44a58fc8519bcc93644423373 (patch)
treeb7b95753efe5ebe72df6ebfdf48db488b9fb1a89 /src
parent461e36910a20a5cfa7ed333b718b705f9ec9d0fd (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/pulse/thread-mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/thread-mainloop.c b/src/pulse/thread-mainloop.c
index 9dd47ae3..e8c956bb 100644
--- a/src/pulse/thread-mainloop.c
+++ b/src/pulse/thread-mainloop.c
@@ -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;