|
|
|
|
|
by monocasa
3956 days ago
|
|
The way I think of it is that volatile is for making sure the instructions are there and in the right order in the instruction stream. You may need to do other things to get around the processor's side of optimizations like store queues and caches depending on the context. |
|