[pulseaudio-tickets] [Bug 72574] New: core-util: set_scheduler: check for RLIMIT_RTTIME

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 10 10:33:05 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72574

          Priority: medium
            Bug ID: 72574
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: core-util: set_scheduler: check for RLIMIT_RTTIME
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: desrt at desrt.ca
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: core
           Product: PulseAudio

Created attachment 90589
  --> https://bugs.freedesktop.org/attachment.cgi?id=90589&action=edit
[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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20131210/b9e1ce48/attachment.html>


More information about the pulseaudio-bugs mailing list