mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
dfa627da30
g_atomic_int_(get|set) only work on ints and the flags are an enum (which on most architectures is stored as an int). Also the way the flags were accessed atomically would still leave a possible race condition and we don't do it in any other mixer track implementation, let alone at any other place where an integer could be changed from different threads. Removing the g_atomic_int_(get|set) will only introduce a new race condition on architectures where integers could be half-written while reading them which shouldn't be the case for any modern architecture and if we really care about this we need to use g_atomic_int_(get|set) at many other places too. Apart from that g_atomic_int_(set|get) will result in aliasing warnings if their argument is explicitely casted to an int *. Fixes bug #571153. |
||
---|---|---|
.. | ||
aalib | ||
annodex | ||
cairo | ||
dv | ||
esd | ||
flac | ||
gconf | ||
gdk_pixbuf | ||
hal | ||
jpeg | ||
ladspa | ||
libcaca | ||
libmng | ||
libpng | ||
mikmod | ||
pulse | ||
raw1394 | ||
shout2 | ||
soup | ||
speex | ||
taglib | ||
wavpack | ||
Makefile.am |