Summary: | core-util: set_scheduler: check for RLIMIT_RTTIME | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Allison Lortie (desrt) <desrt> |
Component: | core | Assignee: | pulseaudio-bugs |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | [PATCH] core-util: set_scheduler: check for RLIMIT_RTTIME |
Thanks! I applied the patch: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=6f954c76745acaaa8cae5a569702e23e83115b3b |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 90589 [details] [PATCH] core-util: set_scheduler: check for RLIMIT_RTTIME set_scheduler() assumes that if sys/resource.h was found then we will find RLIMIT_RTTIME there, but this is a non-POSIX extension on Linux. Change the check to ensure that RLIMIT_RTTIME is actually defined. Linux indeed defines this as a macro, and POSIX specifies that the other RLIMIT_ constants must be macros, so having this as an #ifdef seems correct.