Hi,
I have CMSIS RTOS thread increment uint32_t variable.
Other thread is reading uint32_t variable.
Do I need to use mutex to protected these read and write.
Can I use any better way without using OS mutex.
Thanks, Naeem
NO.
A INCREMENT IS A READ OPERATION WRITE SEQUNCE.
IT CAN BE INTURUPTED IN TEH SEQENCE.
YOU MUST PROTECT SOME WAY.