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

@ -35,6 +35,7 @@ pa_usec_t pa_rtclock_usec(void);
pa_usec_t pa_rtclock_age(const struct timeval *tv);
pa_bool_t pa_rtclock_hrtimer(void);
void pa_rtclock_hrtimer_enable(void);
/* timer with a resolution better than this are considered high-resolution */
#define PA_HRTIMER_THRESHOLD_USEC 10