cache

This note last modified February 23, 2021

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”