Comment Comment by gpderetta The fact that another thread sees the incremented value implies that that thread will see all stores that happened-before that incremented value.A fence or atomic operation guarantee that a store will be visible globally in a finite amount of timeEdit: that's true for C11 _Atomic as well (I had to double check), I.e. x++ if x is an _Atomic int is both atomic and seqcst parent gpderetta 4 years ago
A fence or atomic operation guarantee that a store will be visible globally in a finite amount of time
Edit: that's true for C11 _Atomic as well (I had to double check), I.e. x++ if x is an _Atomic int is both atomic and seqcst