Thanks for the article;
In the 'Publish-Subscribe Mechanism', the article states : "Unfortunately, there is nothing
forcing the compiler and CPU to execute the last four assignment statements in order."
This breaks my mind. I understand concurrency problems with multiple tasks, but here only one
task is considered (or did I misunderstand something ?). Why would the CPU not execute the
last four assignment statements in the order given by the compiler, and why would the compiler
not keep the order given by the programmer ???
Even with multiple tasks, I thought that the order was guaranteed (I agree that many things
can happen between two code lines of one given task if other tasks are running though).
Can anyone enlighten me ?