[vlc-devel] [PATCH] Drop POSIX real-time priorities

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 31 08:44:49 CEST 2020


On 2020-03-30 16:50, Rémi Denis-Courmont wrote:
> Le maanantaina 30. maaliskuuta 2020, 16.48.23 EEST Francois Cartegnie a écrit
> :
>> Le 30/03/2020 à 15:44, Rémi Denis-Courmont a écrit :
>>> This only worked with root privileges, meaning it was pure placebo for
>>> those few users that actually invoked the command line flag.
>>>
>>> And then it seems more likely to crash the system than the achieve its
>>> purpose, seen as VLC was never designed to handle real-time scheduling.
>>
>> AFAIU the vlc_thread priorities have also zero effect.
> 
> Sure, I am in favor of removing vlc_set_priority() and the priority argument
> to vlc_clone(). But maybe some other platforms want to keep their placebo.

How is that a placebo ? It does have an effect on Windows

https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreadpriority
https://docs.microsoft.com/en-us/windows/win32/procthread/scheduling-priorities


More information about the vlc-devel mailing list