As I understand memory_order_relaxed is to avoid costly memory fences that may be needed with more constrained ordering on a particular architecture. In that case how is total modification order for an atomic variable achieved on popular processors?
Aucun commentaire:
Enregistrer un commentaire