Patch for incorrect return value checking when acquiring realtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It appears the return values for set_scheduler and set_nice are not correctly checked in the case where the initial request failed.
This caused pa_make_realtime to incorrectly log that real time status was achieved (albeit one level lower than requested) when it actually was not.
Painful as it covered up an incorrectly configured rtkit setup on a system.

The attached patch fixes the problem.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-fix-incorrect-check-of-return-value.patch
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110120/5ca8f3f7/attachment.asc>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux