13
0
livetrax/libs/evoral
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
..
evoral ARM 32bit enum alignment (used in MIDIBuffer) 2020-09-28 01:21:43 +02:00
libsmf
MSVCevoral
test
Control.cc
ControlList.cc Fix control-list editing (#8384) 2020-08-31 07:39:45 +02:00
ControlSet.cc
Curve.cc
debug.cc
Event.cc gcc-11 compat, volatile atomic variables (1/2) 2021-03-22 15:30:07 +01:00
Note.cc
run-tests.sh
Sequence.cc Do not interpolate away explicit MIDI automation points #8362 2020-08-15 01:57:01 +02:00
SMF.cc
SMFReader.cc
TimeConverter.cc
wscript