don't use SIGRTMAX, for compatibility with valgrind which apparently uses this signal
authorLennart Poettering <lennart@poettering.net>
Sat, 27 Oct 2007 22:06:20 +0000 (22:06 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 27 Oct 2007 22:06:20 +0000 (22:06 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1962 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/main.c

index c135a6b..6c9f662 100644 (file)
@@ -615,7 +615,8 @@ int main(int argc, char *argv[]) {
         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());