ctl atomic code
Hello,
I have two tasks that asynchronously write bytes to I2C bus on STM32F4 mc.
I use a mutex to avoid race condition problems, but, overall , I wonder to know if there is a way to make a piece of code atomic: I mean while executing that piece of code in a task, the task cannot be interrupted neither from other tasks with higher priority.
thank you.
Regards
Please sign in to leave a comment.
Comments
0 comments