make use of PR_SET_TIMERSLACK

This commit is contained in:
Lennart Poettering 2009-01-16 19:57:58 +01:00
parent 4a13763797
commit 5793f93350
3 changed files with 29 additions and 0 deletions

View file

@ -885,6 +885,8 @@ int main(int argc, char *argv[]) {
else
pa_log_info(_("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!"));
pa_rtclock_hrtimer_enable();
#ifdef SIGRTMIN
/* Valgrind uses SIGRTMAX. To easy debugging we don't use it here */
pa_rtsig_configure(SIGRTMIN, SIGRTMAX-1);