As I see from here: https://godbolt.org/z/K477q1.
The generated assembly load/store atomic relaxed is the same as the normal variable: ldr and str
So, is there any difference between relaxed atomic and normal variable?
Aucun commentaire:
Enregistrer un commentaire