The M4, to my knowledge, has no microcode like x86 processors. For solution (b), while it can't be guaranteed by the compiler, it can be guaranteed with external tooling that manually ensures that all atomic variables…
The M4, to my knowledge, has no microcode like x86 processors. For solution (b), while it can't be guaranteed by the compiler, it can be guaranteed with external tooling that manually ensures that all atomic variables…