I have recently getting myself familiarized with volatile
keyword and I see that not reading from main memory directly can result in inconsistency and the so-called visibility problem.
I believe the CPU cache is not specific to any thread. So I was wondering if the volatile
keyword will be of any use in singlecore processor?