don't use SIGRTMAX, for compatibility with valgrind which apparently uses this signal

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1962 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-10-27 22:06:20 +00:00
parent 98d363c8ef
commit 66dc0b44c5

View 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());