[vlc-devel] Reworking OpenSLES audio output
Rémi Denis-Courmont
remi at remlab.net
Tue May 3 17:32:28 CEST 2011
Hello,
On Tuesday 03 May 2011, Hugo Beauzee-Luyssen wrote:
> I just noticed the "buffer_enqueud" flag isn't thread safe...
> Any thoughts on using __atomic_dec/inc (assuming the comparison
> between an integer and a literal is atomic, which can be a false
> belief of mine...) ?
Atomic operations make sure that the value is defined at all times. It does not
warrant that it makes any sense.
--
Rémi Denis-Courmont
http://www.remlab.info
More information about the vlc-devel
mailing list