[pulseaudio-commits] r2059 - /trunk/src/pulse/thread-mainloop.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Nov 14 08:11:53 PST 2007


Author: lennart
Date: Wed Nov 14 17:11:51 2007
New Revision: 2059

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2059&root=pulseaudio&view=rev
Log:
use a prio inheriting mutex for the threaded mainloop, to ease writing of RT clients

Modified:
    trunk/src/pulse/thread-mainloop.c

Modified: trunk/src/pulse/thread-mainloop.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/thread-mainloop.c?rev=2059&root=pulseaudio&r1=2058&r2=2059&view=diff
==============================================================================
--- trunk/src/pulse/thread-mainloop.c (original)
+++ trunk/src/pulse/thread-mainloop.c Wed Nov 14 17:11:51 2007
@@ -103,7 +103,7 @@
         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;




More information about the pulseaudio-commits mailing list