[vlc-devel] [PATCH 2/5] video_output: move the dead (don't push) control handling in video_output

Steve Lhomme robux4 at ycbcr.xyz
Fri Dec 18 08:10:23 UTC 2020


On 2020-12-18 9:05, Rémi Denis-Courmont wrote:
> Le perjantaina 18. joulukuuta 2020, 9.59.13 EET Steve Lhomme a écrit :
>> On 2020-12-18 8:54, Rémi Denis-Courmont wrote:
>>> Le perjantaina 18. joulukuuta 2020, 9.49.59 EET Steve Lhomme a écrit :
>>>> On 2020-12-18 8:47, Rémi Denis-Courmont wrote:
>>>>> Le perjantaina 18. joulukuuta 2020, 7.48.13 EET Steve Lhomme a écrit :
>>>>>> On 2020-12-17 21:37, Rémi Denis-Courmont wrote:
>>>>>>> Le torstaina 17. joulukuuta 2020, 17.39.16 EET Steve Lhomme a écrit :
>>>>>>>> Only the code that pushes code need to know it's not supposed to push
>>>>>>>> anything anymore. So far it was under a lock of the control thread.
>>>>>>>> We
>>>>>>>> use
>>>>>>>> an atomic boolean instead.
>>>>>>>
>>>>>>> This is not equivalent and leads to races.
>>>>>>
>>>>>> Please explain.
>>>>>
>>>>> This breaks atomicity in a number of places.
>>>>
>>>> Where ?
>>>
>>> atomic_load() duh, where else?
>>
>> Maybe it's funny to you. But I would like explanation on what the real
>> issues are.
> 
> The point of code review is not to teach basic coding. I pointed out what the
> problem was and where it was. If you can't be bothered to question your own
> code, that's on you.

You're just leaving me guessing what you have in your head which I 
obviously didn't see (if it actually exists). And keep not giving the 
actual explanation, just leaving tiny clues of where and what may be the 
issue. If you're not capable in explaining the issue clearly it's 
probably that it's not there at all.

> -1
> 
>> Unsubstantiated issues are worth no review at all.
> 
> Trolling is not tolerated here.

You should know.


More information about the vlc-devel mailing list