I have a question around fine-grained and coarse-grained atomic actions.
Could someone please give me a very basic description on what each one is.
As far as I understand, coarse-grained is built up of multiple fine-grained actions in that it being something like a synchronized method.
But for fine-grained I am unsure on exactly what this means, i know it is an instruction which has either happened or hasn't in that it have either processed everything or nothing at all. An as far as my research goes it has led me to believe that the following is an example of a fine-grained atomic action:
int x = 0;
int x = y+3;
isnt due to the fact it must read and process data before doing a direct write to a memory location.
Am i on the right track?