[pulseaudio-commits] r1962 - /branches/lennart/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Oct 27 15:06:22 PDT 2007


Author: lennart
Date: Sun Oct 28 00:06:20 2007
New Revision: 1962

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1962&root=pulseaudio&view=rev
Log:
don't use SIGRTMAX, for compatibility with valgrind which apparently uses this signal

Modified:
    branches/lennart/src/daemon/main.c

Modified: branches/lennart/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/main.c?rev=1962&root=pulseaudio&r1=1961&r2=1962&view=diff
==============================================================================
--- branches/lennart/src/daemon/main.c (original)
+++ branches/lennart/src/daemon/main.c Sun Oct 28 00:06:20 2007
@@ -615,7 +615,8 @@
         pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
 
 #ifdef SIGRTMIN
-    pa_rtsig_configure(SIGRTMIN, SIGRTMAX);
+    /* Valgrind uses SIGRTMAX. To easy debugging we don't use it here */
+    pa_rtsig_configure(SIGRTMIN, SIGRTMAX-1);
 #endif
 
     pa_assert_se(mainloop = pa_mainloop_new());




More information about the pulseaudio-commits mailing list