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

Rémi Denis-Courmont remi at remlab.net
Thu Dec 17 20:37:48 UTC 2020


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.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list