This video will explain what is a race condition, what may go wrong if a race condition occurs, and how to avoid race conditions. Visit here for more information: web.eece.maine.edu/~zhu/book
Пікірлер: 11
@krish2nasa6 жыл бұрын
Thank you very much, Prof. Yifeng
@sukhbirsingh8053 Жыл бұрын
This is Priceless
@themaki21452 жыл бұрын
great stuff, mr. zhu. thanks for the effort of making this video
@edinhthong51396 жыл бұрын
Cortex M3 and Cortex M4 introduce bit-banding. Which ensures access bit in atomic level -> Avoid race conditions
@user-hf7ie4hy6c2 ай бұрын
Why the output of PB2 is also stored in the registor3 after exit from the systick_handler()
@kingfalconkhan4 жыл бұрын
At 4:24, I think it is supposed to say, the old output of pin 'PB3' is also stored in the register r3 instead of PB2 is also stored in the register r3. Same at 4:38, where it should say the old output of 'PB3' is mistakenly written to the ODR register.
@embeddedsystemswitharmcort90514 жыл бұрын
No. What I said is correct. The output of both PB2 and PB3 are stored in register r3.
@yanhuiyuan56863 жыл бұрын
r3 contains all bits of port B ODR register including bit PB2.
@sukhbirsingh8053 Жыл бұрын
Sir, could you please suggest some reading material for these kind of Essential Concepts??
@1MillonOne5 жыл бұрын
Great vid! Just once thing..., not a good programming practice calling directly a function within the endless loop. Instead through a time scheduler!
@Sencires2 жыл бұрын
Dude this is about microcontrollers and not about programming practices