cache

This note last modified September 1, 2024

Thread A storing a value “X=17” may cause issue as Thread B’s “X” in L1 cache is not overwritten. This is solved by the keyword “volatile”