According to the lesson, y=11 and x=0 is not a possible result.
but when I tried it on cppmen, I got it.
Is there anything wrong with it?
Course: Modern C++ Concurrency: Get the most out of any machine - Learn Interactively
Lesson: CppMem: Atomics with Sequential Consistency - Modern C++ Concurrency: Get the most out of any machine