[vlc-devel] [PATCH 01/12] decoder: change error handling

Rémi Denis-Courmont remi at remlab.net
Thu Jun 9 11:59:11 CEST 2016


Le 2016-06-09 11:51, Thomas Guillem a écrit :
> We need an atomic since the state can be changed from an other thread 
> (via
> aout_update_format())

I don't see why or how. You can't use an atomic variable to decide 
whether to submit work to the decoder (or whatever else not purely 
informational) - ToCToU.

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


More information about the vlc-devel mailing list