[vlc-devel] [PATCH 2/4] input: add a new variable storing which ES type was last modified

Rémi Denis-Courmont remi at remlab.net
Sat Jul 19 08:30:36 CEST 2014


Le vendredi 18 juillet 2014, 19:40:50 Felix Abecassis a écrit :
> ---
>  src/input/event.c | 9 +++++++++
>  src/input/var.c   | 2 ++
>  2 files changed, 11 insertions(+)


I still do not see how that ensures serialization. As far as I can tell, the 
ES lock is *not* mandatory at that point.

And even if that worked, eventually people would break it, as it's too easy to 
access the variable and make incorrect assumptions.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list