Trying to visualize how memory ordering and atomics work based on what I learned from Rust Atomics and Locks

60 points r3m2

Visualization often helps me understand a topic better. So I've been trying to build a visual model to better understand the inner workings of atomic operations. I would be grateful for any feedback on the model I have created thus far, as I am not entirely certain of its accuracy. If you happen to identify any errors, kindly bring them to my attention. Thank you in advance.

https://preview.redd.it/1ngnia3aobna1.png?width=2826&format=png&auto=webp&v=enabled&s=0f7902efb6e716633801b71c9cb5f1ef4a314b27