ardour/libs/waveview
Robin Gareus cc7b8b1bc5
gcc-11 compat, volatile atomic variables (1/2)
"While 'atomic' has a volatile qualifier, this is a historical
artifact and the pointer passed to it should not be volatile."

Furthermore "It is very important that all accesses to a
particular integer or pointer be performed using only this API"
(from https://developer.gnome.org/glib/2.68/glib-Atomic-Operations.html)

Hence initialization of atomic variables is changed to also use
this API, instead of directly initializing the value.

This also fixes a few cases where atomic variables were
accessed directly.

see also libs/pbd/pbd/g_atomic_compat.h
2021-03-22 15:30:07 +01:00
..
MSVCwaveview Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs) 2018-09-30 09:19:28 +01:00
waveview gcc-11 compat, volatile atomic variables (1/2) 2021-03-22 15:30:07 +01:00
debug.cc Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
wave_view.cc Do not show blank waveforms in case height is < 1px 2020-12-22 13:27:46 +01:00
wave_view_private.cc gcc-11 compat, volatile atomic variables (1/2) 2021-03-22 15:30:07 +01:00
wscript NO-OP: whitespace 2020-01-14 00:52:24 +01:00