gstreamer/markdown/plugin-development/advanced/allocation.md
Matthew Waters 10a461daf4 gst: don't use volatile to mean atomic
volatile is not sufficient to provide atomic guarantees and real atomics
should be used instead.  GCC 11 has started warning about using volatile
with atomic operations.

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Discovered in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/150>
2021-03-19 17:31:51 +11:00

25 KiB